Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving Version Info
Message
De
24/10/1997 13:42:20
Rob Gordon
Xon Digital Communications Ltd.
Dartmouth, Nouvelle-Écosse, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Retrieving Version Info
Divers
Thread ID:
00056570
Message ID:
00056570
Vues:
92
I need to access the Version, Major and Minor revision information stored in an Application (either VFP or otherwise). There is a Win32API call call GetFileVersionInfo (and GetFileVersionInfoSize) which should do the job. Unfortunately, they require a library called version.lib ..which I have .. but can't seem to access.

If I use a DECLARE GetFileVersionInfo in WIN32API the function is not found.

If I use a DECLARE GetFileVersionInfo in version.lib VFP doesn't complain untill I try to access it .. I get a "Cannot load 32bit DLL Version.lib" message

As a work around , I'm accessing the VFP project file (the devinfo field - last 19 bytes) and writing the info to an INI file after each build. This doesn't help with other Apps obviously.

Any ideas ??
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform