Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutting Down the Computer
Message
 
 
To
20/07/2001 00:08:34
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00532885
Message ID:
00532978
Views:
22
>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 + ;

And don't define CR, use local variable instead... Learned recently this from George Tasker...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform