[ ant-contrib-Bugs-2506815 ] WindowsPlatform bug - no versioninfo encoded in dll at all

"SourceForge.net" <[email protected]> Wed, 14 Jan 2009 10:39:30 +0000
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Bugs item #2506815, was opened at 2009-01-14 10:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=2506815&group_id=36177

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cpptasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Curt Arnold (carnold)
Summary: WindowsPlatform bug - no versioninfo encoded in dll at all

Initial Comment:
There is a bug with encoding versioninfo to a Windows dll. I found that net.sf.antcontrib.cpptasks.platforms.WindowsPlatform prints out the line VS_VERSION_INFO VERSIONINFO (line 218) where VS_VERSION_INFO constant is not defined, so the generated version resource file will be invalid - hence no version info data are encoded. Either VS_VERSION_INFO should be replaced with value 1 (as per MS documentation VERSIONINFO must be set to 1) or appropriate header file needs to be included (windows.h) in version resource file. Please fix this with next release. Thanks!

 
Regards,
Goran
gmilosavljevic (at) eu.s4hc.com

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=2506815&group_id=36177

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword