The best you can hope for is information that is actually stored in an executable.
Check out the autodocs for; IDOS->GetSegListInfoTags()
Specifically for the tags; GSLI_VersionString, GSLI_ResidentVersionString and GSLI_ResidentStruct.
colinw wrote:
Check out the autodocs for; IDOS->GetSegListInfoTags()
Specifically for the tags; GSLI_VersionString, GSLI_ResidentVersionString and GSLI_ResidentStruct.
A function to help parse the version string into its components (name, version, revision and date) might still be useful just so everyone doesn't have to roll their own functions for this.
mritter0 wrote:
It should also work for devices/volumes. Colinw's suggestion doesn't work for them.
I guess you mean file systems because the device and volume entries do not have version strings attached.
In order to get the version string of a running file system you just have to get the seglist pointer and pass it to the function that Colin mentioned. IIRC I posted some code to do this on www.amigans.net a while back.