CodePudding user response:
Write the log to see where is the card, the probability is code has a problem, has little to do with a hidden windowCodePudding user response:
MFC startup if hidden windowIn the code
CodePudding user response:
Debugging, stuck, pause, take a look at what positionCodePudding user response:
Can't debugging in the InitInstance () in the following code:
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls. DwSize=sizeof (InitCtrls);
InitCtrls. DwICC=ICC_WIN95_CLASSES;
InitCommonControlsEx (& amp; InitCtrls);
AfxMessageBox (_T (" 123 "));
123 don't play CARDS are dead, I feel may be too much memory for the program, Windows 7 didn't give enough, success program memory is occupied more than 40000, failure is the memory usage in 10000 the following, then stuck directly, the memory are the same
CodePudding user response:
AfxEnableControlContainer (); ?CodePudding user response:
Antivirus software prevents? Firewall/antivirus software closed try