|
From: SpiderMan <Spi...@pr...> - 2001-03-07 03:53:10
|
Sure to add version info to your program, in the resource file add =
something like this:
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "Some comments.\0"
VALUE "CompanyName", "Company name\0"
VALUE "FileDescription", "Stuff\0"
VALUE "FileVersion", "1.0\0"
VALUE "InternalName", "Stuff\0"
VALUE "LegalCopyright", "Copyright (C) 2001\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "Stuff.cpp\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Stuff\0"
VALUE "ProductVersion", "1.0\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
You can add any field you want just make another VALUE. To change =
the window title use:
SetWindowText(hwnd, "Title for window");
----- Original Message -----=20
From: Nathan Smith=20
To: Dev...@li...=20
Sent: Tuesday, March 06, 2001 6:11 PM
Subject: [Dev-C++] Version info etc.
Is it possible to do the fancy Version, Manufacturer etc of other exes =
like I right click > properties and it has version info etc. How do I do =
it?
Also - is it possible to change the titlebar text of my Win app when =
running? I haven't been able to find info in it yet.
-------------------------------------------------------------------------=
-----
Link is external to the Privacyx.com System
|