How to add version information to a VxD file? I've opened some VxD with ultraedit and saw version info there. I know that it's not a PE format, so my question is how to add version info resource to a VxD?
Posted on 2002-09-18 14:54:40 by Vaxon
Maybe this link will help you... :)
Posted on 2002-09-18 15:00:05 by JCP
Hello Vaxon,

It is an easy thing to do:)

1) compile version info resource scpipt
2) build vxd
3 run ADRC2VXD.exe this included with DDK
4 voila!

There is a sample script in the DDK but I could never get it to compile without a million errors; this one will compile on Symantec rc editor.

Here is skeleton resource script:

__________________________________________
#include "d:\masm32\include\version.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1.00.1
PRODUCTVERSION 1.00.1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0xbL
#else
FILEFLAGS 0xaL
#endif
FILEOS 0x10001L
FILETYPE VFT_VXD
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "My SoftWare\0"
VALUE "FileDescription", "File I/O virtual device driver\0"
VALUE "FileVersion", "1.00.1\0"
VALUE "InternalName", "MyMem\0"
VALUE "OriginalFilename","MyMem.vxd\0"
VALUE "LegalCopyright", "Copyright \251 My SoftWare 1999-2003\0"
VALUE "ProductName", "My file maintenance utility\0"
VALUE "ProductVersion", "2.2.06\0" END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
_________________________________________

best regards,

czDrillard
Posted on 2002-09-18 23:22:55 by czDrillard
Thank you very much, guys!:alright:
Posted on 2002-09-19 01:44:09 by Vaxon