Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutting Down the Computer
Message
From
20/07/2001 11:00:00
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00532885
Message ID:
00533161
Views:
14
Nadya,

>>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...

Here's what Mike did: #DEFINE CR CHR(13)

I don't have a quarrel with him on this matter.
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform