Has anybody else run into the LNK2019 issue related to CString and using DLLs? I've tried to fix it the way that MS says to do so(
http://support.microsoft.com/kb/309801/en-us), but I just can't get it to work. Anybody solve this problem? Seems that it's an issue using the new CString template class vs the old CString class.
I'm getting back this error:
SketcherView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CText::CText(class CPoint,class CPoint,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,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)
It refers to the CText call on lines 199-200 in the SketcherView.cpp file. I don't know if the knowledge base article applies or not. The CText function call exists in the Elements.cpp file for the ExtDLLExample DLL.
Please, any ideas as to what I've done wrong?
Stay sane inside insanity