|
-
September 1st, 1999, 04:51 AM
#1
How to find out the Version of my exe
How is it possible to find out the Versionsnumber entered in the resource section (Of the running exe)?
-
September 1st, 1999, 05:06 AM
#2
Re: How to find out the Version of my exe
Use HRSRC FindResource( HMODULE hModule, // module handle
LPCTSTR lpName, // pointer to resource name
LPCTSTR lpType // pointer to resource type);
and
HGLOBAL LoadResource( HMODULE hModule, // resource-module handle
HRSRC hResInfo // resource handle);
Good luck,
Oleg.
-
September 1st, 1999, 09:50 AM
#3
Re: How to find out the Version of my exe
How to use this functions?
I tried it with:
=LoadResource(NULL,FindResource(NULL,"FileVersion",RT_VERSION));
What type is the returnValue?
How to get the value of the Version into a CString?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|