Home > Software engineering >  [MFC for help] mfc140ud. DLL
[MFC for help] mfc140ud. DLL

Time:09-30

The use of MFC dialog program written
Code:
In the InitInstance function, create the dialog object,
Then call DoModal dialog object function,

Operation mode:
1: Ctrl + F5, began to perform, no debug mode, the program is running normal,
2: F5, start debugging, program crashes, after the interruption, breakpoint to DLG. DoModal function, function stack information, see figure,
3: will mfc140ud. DLL is copied to the program directory, all operations are normal boot program

CodePudding user response:

Collapsed in the pop-up dialog box, press the corresponding button to enter debugging press Alt + 7 key to view the Call Stack, namely "the Call Stack" from the inside to the following out of from the inner to outer function Call history, double-click a row to the cursor to the Call of the source code or assembly instruction, don't understand when double click on the next line, until we can read ,

https://www.baidu.com/s? Wd=mfc140ud

CodePudding user response:

The problem of suspected MFC140UD. DLL can't load,
I released out version, MFC140UD. DLL in the program directory and run the program sometimes will collapse (change the program name, or path name), the stack and the DUMP file,

CodePudding user response:

Perhaps because of

In the InitInstance function,
Don't should
Create dialog object,
Then call DoModal dialog object function,

Baidu search relevant keywords,

CodePudding user response:

The
reference 3 floor zhao4zhong1 response:
perhaps because

In the InitInstance function,
Don't should
Create dialog object,
Then call DoModal dialog object function,

Baidu search relevant keywords,


Created in InitInstance function dialog and call domodal is VS created based on the MFC dialog application, VS the automatically generated,

CodePudding user response:

Mfc140ud. DLL
Is the debug version of the release should be mfc140. DLL

CodePudding user response:

You can use the version of the inconsistent with MFC version of environment, so need you to put the MFC DLL with exe directory together

CodePudding user response:

Learn how to use the depends. Exe view exe dependent DLL
  • Related