Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get the version in my executables?
Message
De
14/12/1998 12:17:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00167228
Message ID:
00167242
Vues:
16
>How can I get the executable version number (major,minor,revision)?
>
>I now I can set this values using the 'Version' button in the Build Options dialog box, but how can I retrieve them once the executable is running?

If you are including foxtools.fll there is a function in it called GetFileVersion() which you pass an array and you get back information on the version and other stuff. You can look this up in foxtools.hlp. There is all so an api call to "BOOL GetFileVersionInfo(lpszFile, dwHandle, cbBuf, lpvData)" but I think the foxtools is much easier.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform