Hi,
In my app I need to get the file version of DLLs and EXEs from around the computer. I know I need to use the following API commands:
GetFileVersionInfo()
GetFileVersionInfoSize()
... and I know they are in the "version.dll" which isn't referenced in any .a files in the BlitzMax\lib. I can't work out how to call them. I've tried using LoadLibraryA() and GetProcAddress() but I think I have messed up in changing the variable types. Could someone please write some code that would get the version no. of say, "explorer.exe", just as an example.
Thanks for your help
Seb
In my app I need to get the file version of DLLs and EXEs from around the computer. I know I need to use the following API commands:
GetFileVersionInfo()
GetFileVersionInfoSize()
... and I know they are in the "version.dll" which isn't referenced in any .a files in the BlitzMax\lib. I can't work out how to call them. I've tried using LoadLibraryA() and GetProcAddress() but I think I have messed up in changing the variable types. Could someone please write some code that would get the version no. of say, "explorer.exe", just as an example.
Thanks for your help
Seb