Linker Error, Chapter 18
I'm trying to build the Sketcher application with a dll, as set out in Chapter 18 up to page 915. I get a linker error when I try to build it. Does anyone know where to look for the error? The error listing is below.
Linking...
SketcherView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CText::CText(class CPoint,class CPoint,class ATL::CStringT > >,unsigned long)" (__imp_??0CText@@QAE@VCPoint@@0V?$CStringT@DV?$Str TraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@K@Z) referenced in function "public: void __thiscall CSketcherView::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CSketcherView@@QAEXIVCPoint@@@Z)
C:\Documents and Settings\Danny Crossley\My Documents\Visual Studio 2005\Projects\Ivor\Practice\Sketcher\Debug\Sketche r.exe : fatal error LNK1120: 1 unresolved externals
Dan Crossley
__________________
Dan Crossley
|