CH 14 - Link Error - Unresolved
Hi all.††I am getting the following error:
1>Elements.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CLine::Draw(class CDC *)" (?Draw@CLine@@UAEXPAVCDC@@@Z)
1>C:\Documents and Settings\Razzy\My Documents\Visual Studio 2005\Projects\Sketcher\Debug\Sketcher.exe : fatal error LNK1120: 1 unresolved externals
It pops up when I add the following line to elements.h, the CLine Class:
virtual void Draw(CDC* pDC);
I don't believe that this is a unicode issue, as I read that thread and tried the solution.††Everything works fine until I add that one line.††And yes, I added the #include "Elements.h" line everywhere the book told me to.
Any help would be appreciated.