The thread 0 x2784 has exited with code - 1073741819 (0 xc0000005).
The program 'I: \ suiyiC \ www.N2\Debug\MyClock.exe has exited with code - 1073741819 (0 xc0000005).
Run before is no problem, I will add the drawing code, compiled by but the program can't run,
CodePudding user response:

CodePudding user response:

CodePudding user response:

CodePudding user response:
0 xc0000005 visited illegal pointerIDE on WIN32 0 xc0000005 abnormal capture, test and operation, access conflict will stop in the code, combined with debugging stack solution
CodePudding user response:
OnPaint normal code is let you to change didn't, like.Debugging and running, using F5 can see the wrong place
CodePudding user response:
Send a complete codeCodePudding user response:
Add a breakpoint at the beginning of OnPaint, press F5, see if you can run the breakpoints, step by step, if can press F10 to run, and see where errors occur