-
January 30th, 2004, 06:53 PM
#1
Linking ActiveX with static MFC library
I can link an ActiveX control (OCX) with MFC just find when the project
specifies "Use MFC in a Shared DLL". Unfortunately, when I try to link with
"Use MFC in a Static Library", I get...
GTViewer.def : error LNK2001: unresolved external symbol DllCanUnloadNow
GTViewer.def : error LNK2001: unresolved external symbol DllGetClassObject
Debug/GTViewer.lib : fatal error LNK1120: 2 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
I want to prevent the need to redistribute the MFC library prior to running
our ActiveX control. How can I accomplish this by addressing the link error
or by other means?
TIA,
Adrian
Rap music sucks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|