Ihave a project in vc++.For 32bit its name
hello and in 64bit its name
hellox64.But after build when I right click in the .exe and see property the project name comes
hello for both platform.Now I want that for 32bit it should be
hello and for 64bit it should be
hellox64.Actually I have added a resource version file in project and give the project name there and this file is run for both the platform.So can I add 2 version file in one project or I have to do something other thing.
This my resource version file --------
#include "resource1.h"
#define APSTUDIO_READONLY_SYMBOLS
#include "afxres.h"
#undef APSTUDIO_READONLY_SYMBOLS
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
1 TEXTINCLUDE
BEGIN
"resource1.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,0,0
PRODUCTVERSION 2,0,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x0L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "ProductName", "Hello"
VALUE "FileVersion", "2, 0, 0, 0"
VALUE "LegalCopyright", "\r\n\r\n\r\nCopyright."
VALUE "ProductVersion", "2,0,0,0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (U.S.) resources
#ifndef APSTUDIO_INVOKED
#endif // not APSTUDIO_INVOKED
So how can I change "ProductName" according to
platform.All
the information would remain same expect ProductName.