Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System Power Status
Message
 
To
05/04/2000 10:44:20
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00355606
Message ID:
00355689
Views:
17
>The app will be running on a W98 laptop anyway. It just won't test very well under NT. Thanks M$!

I suspect that the reason for this would be that NT may have considered only workstations. This is purely a SWAG, however.

>I've just noticed that it may also help if I declare lpStatus as REPLICATE(SPACE(1), 12). Running it this way under NT does returns some values....it's just the first 4 bytes all return 32 and the last two 538976288 !?!?

That makes sense. SPACE(1) = ASCII 32. I would be surprised if the other didn't equal what would be returned by ? StringToInteger(REPLICATE(SPACE(1), 4))< g >

To tell if the function worked or not test the return value. Zero will indicate that it failed. Non-zero (one in all liklihood) indicates success.

>Thanks again George.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform