GetSystemPowerStatusEx

J

Justin Marshall

Hi all,

I am trying to get GetSystemPowerStatusEx or GetSystemPowerStatusEx2 working
on my Symbol 2846.

Using VB.Net, I can read the values perfectly from the emulator but when I
put the same program on the 2846, all of the values return zeroes.

The return value from GetSystemPowerStatusEx on the emulator is True but
False on the 2846.
The return value from GetSystemPowerStatusEx2 is zero (no errors) on both
the emulator and the 2846 but the Symbol still returns zeroes for all
values.

Is anybody able to shed any light on my problem?

Thanks in advance,
Justin.
 
J

Justin Marshall

Thanks again to Tim Wilson. His reply to my other question regarding setting
the system time solved this one as well (making the DLLImport function
shared).
Won't get caught by that again (hopefully ;)

Regards, Justin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top