Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
Network:
Windows 2008 Server
>What does the ver command line utility give you in Win8.1?
In VFP 9.0 the OS() function returns 6.2, and OS(5) returns 9200
VER from the command line reports 6.3.9600
Although you can apparently "fix" this problem by setting up the appropriate section in the manifest file to specify that the program is targeted for Windows 8.1 (so that Windows won't lie to it), it's not really permanent... If this is going to be a "feature" of the OS, then we're left with the situation of updating the manifest each time a new version of the OS comes out and do a recompile, then redistribute to each of your customers that upgrade their computer (and how many of us have dealt with customer that claimed that *nothing* was changed in their computer, and that the software "just disappeared" with all their data -- and that the only thing that changed was "the box where you put the CDs into")...
I suppose another route could be that we launch the command line process (assuming that it will report the correct version) and "capture" that result from the command line VER command... Kind'a seems like we're stepping back into the PC/MS-DOS days again...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement