Hi,
I am trying to convert a MFC dll to a simple console project where I can use its classes and member functions.
I simply created a new console project with MFC support and transferred all .h and .cpp files.
The project I am trying to convert is a Zmodem code project I found on the net:
http://zmodem32.cvs.sourceforge.net/viewvc/zmodem32/ZModem32/
I am however getting 3 unreasolved externals:
ZmodemFT error LNK2019: unresolved external symbol "__declspec(dllimport) const CZModemComm::`vftable'" (__imp_??_7CZModemComm@@6B@) referenced in function "public: __thiscall CZModemComm::CZModemComm(void *,void *)" (??0CZModemComm@@QAE@PAX0@Z)
ZmodemFT error LNK2019: unresolved external symbol "__declspec(dllimport) const CZModemCore::`vftable'" (__imp_??_7CZModemCore@@6B@) referenced in function "public: __thiscall CZModemCore::CZModemCore(struct HWND__ *,void *,void *)" (??0CZModemCore@@QAE@PAUHWND__@@PAX1@Z)
ZmodemFT error LNK2019: unresolved external symbol "__declspec(dllimport) const CZModemFile::`vftable'" (__imp_??_7CZModemFile@@6B@) referenced in function "public: __thiscall CZModemFile::CZModemFile(struct HWND__ *)" (??0CZModemFile@@QAE@PAUHWND__@@@Z)
ZmodemFT fatal error LNK1120: 3 unresolved externals
Am I missing a step here? What do I need to do for this to work?
Thanks.