Posted by HMC in Plugin Development on May 13 2008, 09:38 am

Hi again,

as I mentioned in my last thread I am only just beginning to use c++ for windows development, so please excuse my general ignorance :D

I managed to get a licence on the enterprise edition of vc++ 2005 from our IT department, but I still can't get the callDll example to compile. Following the information in the
VC++ 2005
thread, a few threads down, I have added nc_plugin2005.lib to my project and renamed it to nc_plugin; however I still get the following linker errors:

CallDLL.obj : error LNK2019: unresolved external symbol "public: void __thiscall NCManifest::AddErrorCode(int,wchar_t * const)" (?AddErrorCode@NCManifest@@QAEXHQA_W@Z) referenced in function "void __cdecl InstanceCommandParameters_Stub_Hello(class NCManifest &)" (?InstanceCommandParameters_Stub_Hello@@YAXAAVNCManifest@@@Z)
and 7 more from CallDLL.obj

and the same error as in2code in the thread that I just referenced above:

nc_plugin.lib(NC_Plugin.obj) : error LNK2019: unresolved external symbol "void * __cdecl On_NC_Construct(unsigned short * const)" (?On_NC_Construct@@YAPAXQAG@Z) referenced in function _OnLoad@4

can anyone help me, please?

Posted by HMC in Plugin Development on May 13 2008, 10:09 am

Apparantly the dll that was shipped with 3.5.314 is the wrong one:
wrong nc_plugin2005.lib bundled with 3.5.314

I guess I should have looked harder on the forums :$