- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've got a Fortran Dll file, which hasversion information by defining in the resource file (.rc) or a manually defined separate version information fileand included by the .rc file. After compiling, the information will be available by showing the file property. Due to that I need to use the version information in the Dll project itself, I was defining at another place for these version information. The trouble is I have to update two places when I need to change the version information. This is headache...
Now, I want to extract information from the .rc file, however, there is "#define .." syntax which can not be recognised by the Fortran. I am wondering is there anywhere that I only need to define once about these information, and I can get it in both resource and project files. Anyone ideas, please give me a hand.
Regards,
David.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I don't follow you. .rc file is one place --what's the other?
The code for retrieving version info from an executable can be found here, if that's what you're looking for.
Jugoslav

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page