Possible Duplicate:
How do I read from a version resource in Visual C++
in my c++ project i’ve added a .rc file where I can store the file version, the executable description, copyright, etc..
and is ok, I compile, i go to the explorer -> file property and I see all the fields in the form.
My question is: if I need to read from the project the own file version ( to show into a form for example), how can I do this?
thanks
Windows provides a set of API calls for retrieving the version information from executable files. The following snippet of code should help you get started.