What is the reason for the following unresolved externals? 1>test.obj : error LNK2028: unresolved token (0A000096) "public: virtual clrcall CkZip::~CkZip(void)" (??1CkZip@@$$FUAM@XZ) referenced in function "public: virtual void * clrcall CkZip:: |
The Chilkat C++ libs are unmanaged libs, not Managed C++. Notice the "__clrcall" in the error messages. If using Managed C++ in MSVC++, then make sure to wrap the include statements in "pragma unmanaged". #pragma unmanaged #include "CkZip.h" #pragma managed Alternatively, it is possible to use the Chilkat .NET assembly from Managed C++. |