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 :
#include "Button01Dlg.h"
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]