Is it possible to have 2 version info resources in separate .rc files 
Author Message
 Is it possible to have 2 version info resources in separate .rc files

Hi,
I have 2 resource files in my project.  What I would like to do is have
one resource file with file version information specific to the
particular application (i.e. file version, application name) and a
second resource file have more generic file information (i.e. product
number, copy right).  Is this possible.  I am having a heck of a time
trying!
Thanks ahead of time!
Catherine

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Sat, 22 Jun 2002 03:00:00 GMT  
 Is it possible to have 2 version info resources in separate .rc files
Catherine!

Open your resources as text. You'll find sections called TEXTINCLUDE. With
those, you can do all kinds of stuff, conditional includes, etc., that will
stay even after you edit the resources in the res editor.
If what you want to do is having version info with *parts* of it (that is,
the same version info block) conditional, you can put it in the RC"-file
located in the res directory, and use preprocessor defines to select what
block of resources should be included. If you check the autogenerated
version info, you can see that it already is conditionally composed
depending of the _DEBUG define, for example.

Johan Rosengren
Resposnable Informatique
PACTA S.A.



Quote:
> Hi,
> I have 2 resource files in my project.  What I would like to do is have
> one resource file with file version information specific to the
> particular application (i.e. file version, application name) and a
> second resource file have more generic file information (i.e. product
> number, copy right).  Is this possible.  I am having a heck of a time
> trying!
> Thanks ahead of time!
> Catherine

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Sun, 23 Jun 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Version Info on .RC file

2. want version info in .rc file to come from #defined values in a header

3. Get File Version (Resource) Info?

4. Retrieve Info from Version Info Resource

5. Still a problem with resource .rc files resource identifier

6. ghostic afxres.h file in version rc file

7. A DLL file in the resources file .RC

8. i am unable to read from a file having 26ascii character(ctrl+z)

9. Having the resource file dependent on an external file

10. I am having problems with MFC42.dll file

11. Accessing version info in the resource

12. version info from resource

 

 
Powered by phpBB® Forum Software