Original Post
Ladies and Gents, hoping for advice ! I have an MFC project that is creating an object CMs3dModel which is inherited from CModel in the base class (CModel) I have defined a function as such virtual void UnLoad(void) = 0; and in the base class destructor I call this function to clean up the object. But when I try to compile the main MFC project, i get the following error Models.lib(Model.obj) : error LNK2019: unresolved external symbol "public: virtual void __thiscall CModel::UnLoad(void)" (?UnLoad@CModel@@UAEXXZ) referenced in function "public: virtual __thiscall CModel::~CModel(void)" (??1CModel@@UAE@XZ) This is driving me insane as I have provided the overloaded instance in the CMs3dModel class. Any idea why this is not working?? The static Lib compiles with no problems! Thanks peeps Paul.