View Single Post
Old August 27th, 2008, 07:06 PM   #50 (permalink)
BGH
0.5 Farad - Min. Capacity
BGH's CarPC Specs
 
Join Date: Aug 2008
Location: Melbourne, Australia
Vehicle: 2003 VY SS Holden Ute
Posts: 5
BGH is on a distinguished road
Quote:
Originally Posted by Scott View Post
i've added the code for processing the raw windows messages, it will be in the next update.

But, it is a major change, because it could completely change where cf receives the event in relation to other apps (i.e. bluetooth), etc, etc,... It's working for me, but who knows...

So...
In the next update, after running CF for the first time, an xml value will be generated in [localappdata]/centrafuse/system/config.xml that looks like:

<USENEWSUSPENDRESUME>False</USENEWSUSPENDRESUME>

Exit CF, change the value to True so it looks like:

<USENEWSUSPENDRESUME>True</USENEWSUSPENDRESUME>

Run CF, now windows raw POWERBROADCAST messages will be processed for suspend/resume, instead of the .NET POWERMODECHANGED event...

So just to be clear, if you do not manually edit the config.xml and set that value to True, Centrafuse will process suspend/resume as it always has...

I hope this works!! Again, great job everyone, especially adrenaln and notre350z, you guys rock!!
Man this is fantastic news, this problem has really been getting on my nerves. Now the obvious question... when can we get our hands on this new version!?!?!?!
BGH is offline   Reply With Quote