salut,

Dans mon programme SDI (vc2008 + styleRibbon) de temps en temps une erreur me sort au nez. Le debugger me signale cette ligne dans un fichier de vc, qui a pour nom "crtexe.c" :

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
17
18
19
20
21
22
23
#ifdef WPRFLAG
            mainret = wWinMain(
#else  /* WPRFLAG */
            mainret = WinMain(
#endif  /* WPRFLAG */
                       (HINSTANCE)&__ImageBase,
                       NULL,
                       lpszCommandLine,
                       StartupInfo.dwFlags & STARTF_USESHOWWINDOW
                        ? StartupInfo.wShowWindow
 /* C'est Cette Ligne */                       : SW_SHOWDEFAULT
                      );
#else  /* _WINMAIN_ */
 
#ifdef WPRFLAG
            __winitenv = envp;
            mainret = wmain(argc, argv, envp);
#else  /* WPRFLAG */
            __initenv = envp;
            mainret = main(argc, argv, envp);
#endif  /* WPRFLAG */
 
#endif  /* _WINMAIN_ */
Le message d'erreure est le suivant :
Unhandled exception at 0x283a7732 in Programme.exe: 0xC0000005: Access violation reading location 0x00000004.

Si quelqu'un peut me dire la signification de cette erreur, pour m'aider à la corriger. Merci d'avance