Originally Posted by redganger View Post
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.


SimoSoft Projects ------------- The Dog Corner
I'm the author of: Androkkid - Where is... - iFonz - iFonz 2 - Matrix Code and others (Check my site for update)
Help me in Development, Make a Donations!!! (Italian) (English)