Hello Stephen, Thanks for the reply. You are right.
I originally didn't include the .res file in the build. I got a warning and the resulted .exe doesn't have version info. It seems that .res has to be included in the build because that's where the version info is stored. -- Best regards, Jack Tuesday, September 27, 2005, 10:37:10 AM, you wrote: > Jack wrote: >> Hello All, >> >> I'm using Delphi 2005. I configured version information in project >> properties. When I build from IDE, I right click on the exe file name >> in file explorer and option Properties, I see version info. >> >> However, when I build it from command line with dcc32.exe, No version >> info is shown in Properties of the .exe file. I suppose version info >> is simply not included. >> >> Does it mean that if I want to build from command line, I'll need >> to disable the IDE version and create a version rc file and include >> that file in the source code? This doesn't sound right but it seems >> the only solution so far. > In order for version info to be included, the compiler has to be > able to find the projects's .RES file (as included by the "$R > *.res" directive in the .DPR file). > The IDE will automatically generate an empty .RES file if it's > not found; I'm not 100% sure what the command line compiler does > in that situation; probably throws a warning, but it wouldn't or > shouldn't completely halt compilation. > Is your command prompt changed to be in the folder where the > project resides when you invoke DCC32; or are you including the > path to the .RES file as part of a "-R" directive to DCC32? > Stephen Posey > [EMAIL PROTECTED] > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

