diff options
Diffstat (limited to 'RealtimeSync/resource.rc')
-rw-r--r-- | RealtimeSync/resource.rc | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/RealtimeSync/resource.rc b/RealtimeSync/resource.rc index 8716dabd..ecf568da 100644 --- a/RealtimeSync/resource.rc +++ b/RealtimeSync/resource.rc @@ -3,19 +3,26 @@ #include <Winver.h> #include "../version/version.rc" -//beginning with VC11 we get linking error "CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409" -//due to "#define wxMANIFEST_ID 1" in wx.rc. Using another number doesn't integrate the manifest correctly for VC2010 compilers. -//However tests indicate we do not need this manifest at all: -//#define wxUSE_NO_MANIFEST 1 //VC11 screws up if not set to an integer, unbelievable -//we can't #ifdef _MSC_VER: not known by resource compiler! -//see also: http://blog.m-ri.de/index.php/2010/11/26/combobox-dropdown-hoehe-wird-nicht-mehr-durch-die-ressourcen-definiert/ +#define wxUSE_NO_MANIFEST 1 //lame resource compiler requires us to define an integer here #include <wx/msw/wx.rc> +//see comments in FFS resource file on manifests + +//MSDN on manifests: http://msdn.microsoft.com/en-us/library/bb756929.aspx +#define MANIFEST_RESOURCE_ID 1 +#if defined(WX_CPU_AMD64) //check for 64 bit *first* +MANIFEST_RESOURCE_ID RT_MANIFEST "../amd64.manifest" +#elif defined(WX_CPU_X86) +MANIFEST_RESOURCE_ID RT_MANIFEST "../win32.manifest" +#else +#error What is going on? +#endif + A_PROGRAM_ICON ICON DISCARDABLE "RealtimeSync.ico" IDR_VERSION1 VERSIONINFO -FILEVERSION VER_FREEFILESYNC -PRODUCTVERSION VER_FREEFILESYNC +FILEVERSION FREEFILESYNC_VER +PRODUCTVERSION FREEFILESYNC_VER FILEOS VOS__WINDOWS32 FILETYPE VFT_APP BEGIN @@ -24,10 +31,10 @@ BEGIN BLOCK "FFFF04B0" BEGIN VALUE "FileDescription", "Real-time Command Line Launcher\0" - VALUE "FileVersion", VER_FREEFILESYNC_STR + VALUE "FileVersion", FREEFILESYNC_VER_STR VALUE "ProductName", "RealtimeSync\0" - VALUE "ProductVersion", VER_FREEFILESYNC_STR - VALUE "LegalCopyright", "ZenJu - All Rights Reserved\0" + VALUE "ProductVersion", FREEFILESYNC_VER_STR + VALUE "LegalCopyright", "Zenju - All Rights Reserved\0" END END BLOCK "VarFileInfo" |