Linker Errors on Dialog Box
Posted on 1997-04-19
I am running Borland 4.52 in Win95. I have written windows apps in Turbo C++ before but am trying to learn OWL classes.
There are 2 problems and may be related.
1) I declared a dialog box
class Dialog_1 : public TDialog
Dialog_1(TWindow *parent, TRedId, resId,
TModule = 0 );
I execute the dialog box
if(new Dialog_1(this, ID_PLAYERS)->Execute() == IDOK);
The code compliles but gets linker error - undefined symbol Dialog_1::Dialog_1(etc...).
2) Now, I also tried to do a strcat to put a title on the main window title bar. I get an error msg stating the declaration is obsolete. the problems may be related. the includes are correct.