I was wondering if there were an examples to get file version information using Silk's DLL mechanism to call out to Windows functions. I'm close, but I am having problems with the VerQueryValue function. Thanks
You can also get a DLL function that's more easily used in SilkTest at the link below.* It has functions in it for retrieving all kinds of information from files. I, too, had issues with the pointers in VerQueryValue, so I built a DLL wrapper for all of the calls required to get version inforamtion and put it into the DLL below.
If you have the NT Resource Kit - Server version, there is a utility called FileVer that you can call via the SYS_Execute function to return all file version information on executables and dll files. Very easy to use.