Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » unresolved external symbol "protected: static struct AFX_INTERFACEMAP const COleControlSite::interfa Collapse All
Subject Author Date
jb lee Apr 18, 2006 - 2:56 AM

I wanna add prof-uis functions into non-prof-uis-appStudio-generated sample program.

The sample is driller(http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_21463025.html).

After add <prof-uis.h> into stdafx.h, compile produce link error :
Linking...
XHtmlCtrl.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_INTERFACEMAP const COleControlSite::interfaceMap" (?interfaceMap@COleControlSite@@1UAFX_INTERFACEMAP@@B)
..\..\DebugBin\WAdmin.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

What is the problem? MSVC-80 worked well, but, I wanna use VC-60.

jb lee Apr 18, 2006 - 3:19 AM

Static link works fine.

Technical Support Apr 18, 2006 - 7:14 AM

Please send us the .dsp file of your project so we can check the settings.

jb lee Apr 20, 2006 - 12:09 AM

I decided not to use VC 6.0 Compiler, The code is compiled well on Visual Studio 2003/2005 environment.
Anyway, thanks for the reply.