Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No VFP application version
Message
De
06/03/2001 11:32:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00482169
Message ID:
00482260
Vues:
6
>>
>>I've been using it with OLE public classes (DLL's) with no problem. Can you post the line of code calling AGetFileVersion?
>
>I tested it in the command prompt. I do not use a Dll, but an exe file.
>IF AGETFILEVERSION(laArray,"Projects\Framewrk\Upgrade.EXE") > 0
> lcFileVersion = laArray[4]
>ENDIF
>
>I tested it multiple times, changing the OLE settings of the class and compile the exe, and it always gives the same result: class = Ole public, no version information (returns 0), class not ole public, return 15 and version info is correct.

Try reading the version with _VFP.Servername instead of the path to your executable, the relative path may not be evaluating properly at runtime.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform