DiDi
September 1st, 1999, 04:51 AM
How is it possible to find out the Versionsnumber entered in the resource section (Of the running exe)?
|
Click to See Complete Forum and Search --> : How to find out the Version of my exe DiDi September 1st, 1999, 04:51 AM How is it possible to find out the Versionsnumber entered in the resource section (Of the running exe)? Oleg Lobach September 1st, 1999, 05:06 AM 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. DiDi September 1st, 1999, 09:50 AM 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? codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |