R
Ryan
I'm having a little trouble with power management and wondered if
anybody on the group has any suggestions.
I have an application which manipulates an XML file. This application
automatically saves the modified data every 5 minutes while the user is
using the program, just encase the unit is dropped The other thing I
have decided to do is also save the file before the unit goes into
suspend mode. I have code which detects a change in the power status in
a separate thread. When the POWER_STATE_SUSPEND signal is detected I
make a call
MainForm.Invoke(new EventHandler(MainForm.mnu_SaveData));
But when I pull the memory card out, without switching the unit on, and
check it in the PC the data file has not been updated.
Can anybody point me in the direction of how standby works or what order
things happen in i.e. Storage Cards power down, Applications get the
standby call, etc. as this is driving me mad!!
Thanks for any information
Ryan
anybody on the group has any suggestions.
I have an application which manipulates an XML file. This application
automatically saves the modified data every 5 minutes while the user is
using the program, just encase the unit is dropped The other thing I
have decided to do is also save the file before the unit goes into
suspend mode. I have code which detects a change in the power status in
a separate thread. When the POWER_STATE_SUSPEND signal is detected I
make a call
MainForm.Invoke(new EventHandler(MainForm.mnu_SaveData));
But when I pull the memory card out, without switching the unit on, and
check it in the PC the data file has not been updated.
Can anybody point me in the direction of how standby works or what order
things happen in i.e. Storage Cards power down, Applications get the
standby call, etc. as this is driving me mad!!
Thanks for any information
Ryan