来自:http://blog.youkuaiyun.com/vcleaner/archive/2005/07/27/436066.aspx
1. In VC IDE,add new resource type such as "RES_DATA",then add your file to the project
resource as the new type.
2. Fetch your file from executable file at runtime,can use follow function:
3.
Use this function such as this format:
Res2File( MAKEINTRESOURCE(ID_RES_DATA), "RES_DATA", "C://FontRes.TTF" );