Home > Software engineering >  C MFC debug errors
C MFC debug errors

Time:10-09

C: \ Users \ \ Administrator \ Desktop \ 666\666 view CPP (107) : error C2653: 'Dialog' : is not a class or the namespace name
C: \ Users \ \ Administrator \ Desktop \ 666\666 view CPP (107) : error C2065: 'jiege: undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 666\666 view CPP (107) : error C2146: syntax error: missing '; 'before the identifier' DLG '
C: \ Users \ \ Administrator \ Desktop \ 666\666 view CPP (107) : error C2065: 'DLG, undeclared identifier
C: \ Users \ \ Administrator \ Desktop \ 666\666 view CPP (108) : error C2228: left of 'DoModal' must have a class/struct/union type

Due to upload pictures is too slow, the great god make do with see
Do not understand, how can the MFC calls, open the dialog

CodePudding user response:

Double-click on each error, check the wrong place to find, do you feel this is a c + + foundation is bad, slowly looking for

CodePudding user response:

Run into a similar problem is done with
/*... every time." */comment out different parts to recompile again, until orientation to the location of the specific grammatical errors, "
The methods to solve of,

CodePudding user response:

You this is to set up a dialog box, but there is no assigned a class for it, or not to add the class header file,

CodePudding user response:

You don't have header file (child Windows header files)

CodePudding user response:

You can double-click on this is to set up a dialog to let you a class name for the dialog and then save to keep has the mistake after you double-click each error in manually modify ID

CodePudding user response:

Dialog the compiler can't find this class, several other because of this type can not find, and then the corresponding variables also don't know

CodePudding user response:

Code is also posted up to look at it, in addition you a new project, there will be a dialog by default, comparing to the somebody else do to have a look

CodePudding user response:

First find some basic introduction of how to create MFC dialog based engineering data look to know
  • Related