Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DISPLAYING A DIALOG Pin
kedar.dave21-Mar-05 22:39
kedar.dave21-Mar-05 22:39 
GeneralPrinting: reserved48 Pin
Jens Doose20-Mar-05 22:18
Jens Doose20-Mar-05 22:18 
GeneralQuestion under MFC... Pin
NewbieStats20-Mar-05 21:52
NewbieStats20-Mar-05 21:52 
GeneralRe: Question under MFC... Pin
toxcct20-Mar-05 21:57
toxcct20-Mar-05 21:57 
GeneralRe: Question under MFC... Pin
NewbieStats20-Mar-05 22:53
NewbieStats20-Mar-05 22:53 
GeneralRe: Question under MFC... Pin
Cedric Moonen20-Mar-05 23:00
Cedric Moonen20-Mar-05 23:00 
GeneralRe: Question under MFC... Pin
NewbieStats21-Mar-05 0:44
NewbieStats21-Mar-05 0:44 
GeneralRe: Question under MFC... Pin
toxcct21-Mar-05 22:10
toxcct21-Mar-05 22:10 
hum, i'd like to answer, even if you already have the solution...

C:\*\ClientDlg.cpp(179) : error C2065: 'CButton01Dlg' : undeclared identifier
C:\*\ClientDlg.cpp(179) : error C2146: syntax error : missing ';' before identifier 'dlg'
C:\*\ClientDlg.cpp(179) : error C2065: 'dlg' : undeclared identifier
C:\*\ClientDlg.cpp(180) : error C2228: left of '.DoModal' must have class/struct/union type


here is what the compiler says :

first error, undeclared identifier. what does this evoque for you ? for me (and the compiler too), it means that the identifier CButton01Dlg is called in a module (cpp file) but the definition of that identifier is not inside it. You so have to help it telling it that it will find such definition in Button01Dlg.h file (for example).

So, do this :
<font color=#0000FF>#include</font> <font color=#808080>"Button01Dlg.h"</font>

The 3 last error depend on the 1st one. As CButton01Dlg were not defined, the compiler could not do anything with it, so :
- could not declare dlg in a type it doesn't know (error C2065),
- could not use dlg (error C2228).

here it is. hope it will help a bit...



TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralConstructor in VC++ Pin
binh.pham20-Mar-05 20:57
binh.pham20-Mar-05 20:57 
GeneralRe: Constructor in VC++ Pin
_Andrew20-Mar-05 21:11
_Andrew20-Mar-05 21:11 
GeneralRe: Constructor in VC++ Pin
toxcct20-Mar-05 21:53
toxcct20-Mar-05 21:53 
GeneralRe: Constructor in VC++ Pin
Steen Krogsgaard20-Mar-05 23:53
Steen Krogsgaard20-Mar-05 23:53 
GeneralConstructor in CPP Pin
phijophlip20-Mar-05 19:43
phijophlip20-Mar-05 19:43 
GeneralRe: Constructor in CPP Pin
jan larsen20-Mar-05 20:27
jan larsen20-Mar-05 20:27 
GeneralRe: Constructor in CPP Pin
Cedric Moonen20-Mar-05 20:28
Cedric Moonen20-Mar-05 20:28 
GeneralRe: Constructor in CPP Pin
Anonymous20-Mar-05 22:29
Anonymous20-Mar-05 22:29 
GeneralRe: Constructor in CPP Pin
David Crow21-Mar-05 4:05
David Crow21-Mar-05 4:05 
Generalcustom static control lin vc++ Pin
sanjay00720-Mar-05 18:14
sanjay00720-Mar-05 18:14 
GeneralRe: custom static control lin vc++ Pin
Tareq Ahmed Siraj20-Mar-05 18:41
Tareq Ahmed Siraj20-Mar-05 18:41 
GeneralRe: custom static control lin vc++ Pin
sanjay00720-Mar-05 18:54
sanjay00720-Mar-05 18:54 
GeneralNorthwind exercises Pin
Renjith Ramachandran20-Mar-05 15:49
Renjith Ramachandran20-Mar-05 15:49 
GeneralPacket Filtering Pin
OvermindDL120-Mar-05 15:00
OvermindDL120-Mar-05 15:00 
Questionoverloading bug in VC++6?? Pin
nm_11420-Mar-05 14:41
nm_11420-Mar-05 14:41 
AnswerRe: overloading bug in VC++6?? Pin
PJ Arends20-Mar-05 16:32
professionalPJ Arends20-Mar-05 16:32 
GeneralRe: overloading bug in VC++6?? Pin
nm_11420-Mar-05 17:44
nm_11420-Mar-05 17:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.