c++.windows.32-bits - OPTLINK and version resources
- Frank Albe (14/14) Feb 03 2003 I tried to put version info in a resource script. rcc didn't squawk,
- Christof Meerwald (7/12) Feb 03 2003 Use "rcc -32 -D__NT__ app4" instead to generate a 32-bit resource file.
- Frank Albe (7/15) Feb 04 2003 It worked. Thank you. I shouldn't have missed that switch. I was
I tried to put version info in a resource script. rcc didn't squawk, but OPTLINK didn't like it. ---------------------8< output from smake >8--------------------- rcc -D__NT__ app4 link -NOI protowin.obj basewin.obj winmain.obj app4win.obj app4about.obj,app4.exe,,gdi32.lib,app4.def,app4.res OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved OPTLINK : Error 152: Cannot yet convert VERSION resources from 16 to 32-bit ------------------------8< snip >8------------------------ Is there a way to get version info in a Win32 executable? ../frank
Feb 03 2003
On Mon, 03 Feb 2003 14:34:12 -0600, Frank Albe wrote:I tried to put version info in a resource script. rcc didn't squawk, but OPTLINK didn't like it. ---------------------8< output from smake >8--------------------- rcc -D__NT__ app4Use "rcc -32 -D__NT__ app4" instead to generate a 32-bit resource file. bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Feb 03 2003
It worked. Thank you. I shouldn't have missed that switch. I was converting a little project from BCB5 and had been fighting it too long. It's good to know (this morning after RTFM) when using -32, "-D__NT__" isn't required. On Mon, 3 Feb 2003 22:02:41 +0000 (UTC), Christof Meerwald <cmeerw web.de> wrote:On Mon, 03 Feb 2003 14:34:12 -0600, Frank Albe wrote:../frankI tried to put version info in a resource script. rcc didn't squawk, but OPTLINK didn't like it. ---------------------8< output from smake >8--------------------- rcc -D__NT__ app4Use "rcc -32 -D__NT__ app4" instead to generate a 32-bit resource file. bye, Christof
Feb 04 2003