[msw 2.8.7] Problem saving application settings when system is shut down

Eric Jensen ml at j-dev.de
Wed Apr 16 13:16:12 PDT 2008


Hello Vadim,

Wednesday, April 16, 2008, 12:14:53 AM, you wrote:

EJ>> this code seems to work fine. I tested once again with a small sample
EJ>> any my own application. I also tested it using the RMTool.exe from the
EJ>> Vista SDK (which sends the WM_ENDSESSION, but does not kill the
EJ>> application).
VZ>  Interesting, I didn't know about it, what exactly is it part of? I don't
VZ> have it in my VC9 installation (which normally installs Vista SDK).
my mistake. It's part of the Vista Logo testing tools, pretty well
hidden on msdn ;)
http://download.microsoft.com/download/d/2/5/d2522ce4-a441-459d-8302-be8f3321823c/LogoToolsv1.0.msi


EJ>> I didn't have an debugging environment on the Vista machine
VZ>  You probably should be able to use remote debugging from the machine where
VZ> VC is installed.
unfortunately that doesn't work, because when i log off on the Vista
machine, it also kills the debugging session immediately.


VZ>  Normally wxEntryCleanup will delete the application, do you mean it
VZ> doesn't happen during your test?
yes, the wxApp dtor will not get called. Actually it seems the very
last call that is executed during cleanup is
::DestroyWindow(GetHwnd())
in
wxWindowMSW::~wxWindowMSW()
if it's called for the last toplevel window.

Regards,
Eric





More information about the wx-users mailing list