Salut, salut,
j'ai un problème avec les exceptions en compilant avec VC++6 :
- lorsque je compile sans gestion des exceptions (sans l'option /GX)
l'éxécution se fait sans problème mais sans gestion des exceptions. (normal)
- lorsque je compile avec la gestion des exceptions (avec l'option /GX)
il crash lors de la création de la fenêtre, mais je ne vois pas du tout pourquoi![]()
voici une copie de la pile des appels au moment au il utilise un pointeur null :
Si quelqu'un a une idée de ce que j'ai pu oublié.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 wxAppConsole::CreateMessageOutput() line 260 + 9 bytes wxApp::Yield(unsigned char 152) line 711 wxAppConsole::GetTraits() line 236 + 14 bytes wxGetOsVersion(int * 0x0012fa9c, int * 0x00000000) line 302 + 21 bytes wxCreateFontFromStockObject(int 17) line 232 + 17 bytes wxSystemSettingsNative::GetFont(wxSystemFont wxSYS_DEFAULT_GUI_FONT) line 279 + 13 bytes wxInitializeStockObjects() line 573 + 30 bytes wxAppBase::Initialize(int & 1, char * * 0x0147cf00) line 115 wxApp::Initialize(int & 1, char * * 0x0147cf00) line 279 + 16 bytes wxEntryStart(int & 1, char * * 0x0147cf00) line 280 + 30 bytes wxEntryReal(int & 1, char * * 0x0147cf00) line 404 + 13 bytes wxEntry(int & 1, char * * 0x0147cf00) line 216 + 13 bytes wxEntry(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, HINSTANCE__ * 0x00000000, int 1) line 386 + 13 bytes WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00141f23, int 1) line 28 + 45 bytes WinMainCRTStartup() line 330 + 54 bytes KERNEL32! 7c816fd7()
Partager