Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for Windows Server
Message
De
09/04/2016 04:39:57
 
 
À
09/04/2016 03:46:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01634571
Message ID:
01634572
Vues:
97
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>What is the way to test if a VFP exe is running on a Windows Server version?

Per http://fox.wikis.com/wc.dll?Wiki~VFPFunctionOS~WIN_COM_API , looks like OS( 11 ) returning 2 or 3.

Not in that list, but Server 2012 R2 OS( 11 ) returns 3.

I don't know what gets returned if a VFP app is run in compatibility mode for an earlier version of Windows (e.g. Windows 7), if that's important to you.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform