Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine VFP version number of an EXE
Message
De
17/01/2003 08:34:35
 
 
À
17/01/2003 08:29:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00742805
Message ID:
00742822
Vues:
32
This message has been marked as the solution to the initial question of the thread.
Hi Mark, if you look in the exe file itself using LLFF you will be able to search for the string "VisualFoxproRuntime" which is then followed by a number which indicates the runtime version either 6 or 7 or whatever. The string will appear very near the top of the exe file.

>Thanks Jols
>
>
>These files were built without the build option to store version information.
>I have tried looking at them with a hex editor but can not spot the version information.
>
>I tried to narrow it down by running them from the command line but they all ran.
>
>Version 6 seem to run version 7 executables quite happily unless a new command is used, so it is not possible to test in this way.
>
>The executables are either in version 6 or version 7 and I can not establish which it is :(
>
>
>
>>Mark,
>
>>
>>Check www.news2news.com for an API that will return file info.
>>
>>Update: I see in the help that AGetFileVersion() will only return info if the file has "Windows version resources" information. AGetFileVersion() works for all VFP7 exe's that I have tried it on under W98 to WXP. What files does it not return info from?
>>
>>>I have several executables. I want to determine which VFP version each executable has been compiled in.
>>>
>>>These executables return nothing when AGETFILEVERSION(aFile,'myexe.exe') is run on them.
>>>
>>>
>>>Many Thanks
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform