阅读:2180回复:4
版本号是怎么修改的?
在rc文件中添加什么可以修改版本号?
图片:未命名.jpg |
|
沙发#
发布于:2009-02-16 17:00
直接修改rc文件就可以了啊.
如果有IDE的话,直接操作会更方便 .... ///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,1 PRODUCTVERSION 1,0,0,1 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x4L FILETYPE 0x2L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "080403a8" BEGIN VALUE "Comments", " VALUE "CompanyName", "" VALUE "FileDescription", " DLL" VALUE "FileVersion", "1, 0, 0, 1" VALUE "LegalCopyright", " CopyRight (C) 2001-2008" VALUE "LegalTrademarks", "" VALUE "OriginalFilename", "" VALUE "ProductName", "" VALUE "ProductVersion", "1, 0, 0, 1" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x804, 936 END END #endif // 中文(中华人民共和国) resources ///////////////////////////////////////////////////////////////////////////// ...... |
|
板凳#
发布于:2009-03-14 00:41
看ddk中例子
|
|
|
地板#
发布于:2009-10-10 15:47
nscboy 很正确
|
|
地下室#
发布于:2009-10-10 16:28
#include <windows.h>
#include <ntverp.h> #define VER_FILETYPE VFT_DRV #define VER_FILESUBTYPE VFT2_DRV_SYSTEM #define VER_FILEDESCRIPTION_STR "Microsoft Virtual Miniport Driver" #define VER_INTERNALNAME_STR "netvmini.sys" #define VER_ORIGINALFILENAME_STR "netvmini.sys" #define VER_FILEVERSION 1,00,00,0000 #define VER_FILEVERSION_STR "1.00.00.0000" #undef VER_PRODUCTVERSION #define VER_PRODUCTVERSION VER_FILEVERSION #undef VER_PRODUCTVERSION_STR #define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR #define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2003 Microsoft Corporation" #ifdef VER_COMPANYNAME_STR #undef VER_COMPANYNAME_STR #define VER_COMPANYNAME_STR "Microsoft Corporation" #endif #undef VER_PRODUCTNAME_STR #define VER_PRODUCTNAME_STR "Microsoft Virtual Network Adapter" #define VER_LANGNEUTRAL #include "common.ver" |
|