Find Your Device:
Or Continue to Thread: [08/07/2009] Where is... 1.0.0…
10th June 2009, 08:11 AM |#9  
ssj5trunks's Avatar
OP Senior Member
Thanks Meter: 3
Originally Posted by redganger

What am I missing here?


I think the problem is when i read registry.
I do that for block screen for not go in stand by mode.

Check these registry if you have it:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\Timeouts\BattSuspendTimeout
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\Timeouts\BattSuspendTimeoutSave
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\Timeouts\ACSuspendTimeout
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\Timeouts\ACSuspendTimeoutSave
HKEY_CURRENT_USER\ControlPanel\Backlight\BatteryTi meout
HKEY_CURRENT_USER\ControlPanel\Backlight\BatteryTi meoutUnchecked
HKEY_CURRENT_USER\ControlPanel\Backlight\ACTimeout Unchecked

If you dont have these registry it is a problem i correct it in the next version, if i dont find it i set it to 0.

I think your problem is that i cant find any of these registry key and return error.