2010-10-18, 07:48 PM
Well, it seems you're right. Both my systems (Windows 7 and XP) are showing the problem. I wonder what's changed, because it wasn't my code - that part hasn't been changed in ages, honest gov'. And if you take those lines out and paste them into a simple exe they work as expected.
The only other thing I can think of is that the current plugin won't have been compiled against the DLLs from the latest version of NPVR but that shouldn't matter for this functionality (should it?). Failing that, I'll mess around with rundll32.exe powrprof.dll,SetSuspendState calls and see if I can make them work instead.
Weird.
The only other thing I can think of is that the current plugin won't have been compiled against the DLLs from the latest version of NPVR but that shouldn't matter for this functionality (should it?). Failing that, I'll mess around with rundll32.exe powrprof.dll,SetSuspendState calls and see if I can make them work instead.
Weird.