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

NT 4 did not implement ACPI support, and your vendor elected not to develop their own for NT. Thank the vendor. Win98 and Win2K both have a common interface for ACPI.

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

Consider the context of NT - MS sacrificed features for stability; NT 4 is coming from even pre-APM, in the Win95 context, and I don't know how much experience you had with the early APM stuff, but it was not stable and reliable.

>>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform