Click to See Complete Forum and Search --> : question about resource.h in eMbedded Visual C++


nhm1680
June 20th, 2005, 03:16 PM
I am new to the eMbedded Visual C++ world. I am working to create a dialog box that will display the VS_VERSION_INFO. I have read the help and it says that i must have the GetFileVersionInfo before I can call the VerQueryValue which will allow me to display the information within the VS_VERSION_INFO thus far i have it defined as such. It thought is not sufficiant does anyone have suggestions as I am new to eMbedded Visual C++

BOOL GetFileVersionInfo(
LPTSTR lptstrFilename,
DWORD dwHandle,
DWORD dwLen,
LPVOID lpData
);

BOOL GetFileVersionInfo(LPTSTR lptstrFilename, DWORD dwHandle, DWORD dwLen, LPVOID lpData);

VerQueryValue(pBlock, TEXT("\\FileVersion\\lptstrFilename"),(LPVOID*)&lptstrFilename, &lptstrFilename);

kirants
June 20th, 2005, 04:55 PM
FAQ item here:

http://www.codeguru.com/forum/showthread.php?t=318655