Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting Down the Computer
Message
De
20/07/2001 00:08:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00532885
Message ID:
00532971
Vues:
15
Mike,


>>>have a look at thread #509580
>>
>>Actually, I just realized I was a bit hasty with my answer in that thread. A much better solution is found in this MSFT KB article. Cut and paste, baby.
>
>I also see why Eric finds the function intimidating: one of the calls uses a structure. Well, guess what? I wrote another one that demystifies structures: click here. It's only a contiguous piece of memory, with an agreed upon size of the structure elements, so pass it one.


You need to add the following line to your example:

"Processor Name: " + m.ProcessorName + CR + ;
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform