GM File Version Extractor Dll
With some very easy to use functions, this dll is able to get you all version information from (certain) files. It also features checking for version information.
Possible use is for (auto)updating your game.
Currently it is v1 FINAL!! Meaning it should work perfectly without bugs or modifications (hopefully).
Download Site (more info+code shot)
cvc_vinf_init() - Initializes the dll
cvc_vinf_set(String)=Boolean - Set the target filename (argument0) for getting version information (returns success)
cvc_vinf_has()=Boolean - Returns if the target filename contains version information
cvc_vinf_get(Integer)=String - Returns a string of version information given a VI constant (argument0)
cvc_vinf_fini() - Frees the dll from memory
cvc_vinf_c2t(Integer,Integer) - Coverts a constant (argument0) to understandable text. You must also set the constant's constant group (argument1) such as global.VI_CONST0
The information found is purely version information residing inside the file, this gives the ability to accurately determine the file version BUT for the security enthusiasts; version information IS NOT RELIABLE! This dll reads the information as is in reality BUT the file may have been tampered with. Version information CAN BE EASILY CHANGED using programs like ResHack or XNResEditor.
Covac Software Team
Edited by uuf6429, 31 August 2008 - 08:55 AM.