Home > Software engineering >  River's lake dries up, VS2005 MFC programs run on Windows 7 32 bit system, the software menu, p
River's lake dries up, VS2005 MFC programs run on Windows 7 32 bit system, the software menu, p

Time:10-04

I software developed in Windows 7 32 bit platform, using VS2005, option configuration as follows,
/O2/GL/I "../../Include "/D" WIN32 "/D" _WINDOWS "/D" NDEBUG "/D" _UNICODE "/D" UNICODE "/D" _AFXDLL "/FD/EHsc/MD/Yu" stdafx. H "/Fp" Release \ IPMS8000 - Server. PCH "/Fo" Release \ \ "/FD" Release \ vc80 PDB "/W3/nologo/c/Zi/TP/errorReport: prompt
As a result, the release of the compiled version as in other Windows 7 32 bit machine, menu, click on the software is no response,
The warrior excuse me, this is what reason, how to debug?


CodePudding user response:

Is a way to debug:

All running path and a MessageBox, slowly positioning, will find the reason of run up


InitDialoag () {
InitDialoag MessageBox (" ");
}

OnMenuItem1 {
OnMenuItem1 MessageBox (" ");
}

CodePudding user response:

To the program to add the log have a look at it, if it's collapse may have a look the DMP file

CodePudding user response:

1 don't have a long time in the command response blocking operation, if long time suggest to background threads
2 program may be melt, it is suggested that the log remote debugging, etc

CodePudding user response:

A menu click

The key is to see the code to run here,,, write the log to see the problem
  • Related