Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Windows
 Charting and Real-Time Graphics Tools for Windows
 Linking errors with VS2010
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

kbrinkley

USA
1 Posts

Posted - 30 Jun 2011 :  11:37:50  Show Profile  Reply with Quote
I moving from VC 6.0 to VS2010 and get the followings error at link time:

1>QcGraphDraw.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const * __stdcall QCRTGraphWnd::GetThisMessageMap(void)" (?GetThisMessageMap@QCRTGraphWnd@@KGPBUAFX_MSGMAP@@XZ)
1>QcGraphView.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const * __stdcall QCPageView::GetThisMessageMap(void)" (?GetThisMessageMap@QCPageView@@KGPBUAFX_MSGMAP@@XZ)
1>QcGraphView.obj : error LNK2019: unresolved external symbol "public: static struct CRuntimeClass * __stdcall QCPageView::GetThisClass(void)" (?GetThisClass@QCPageView@@SGPAUCRuntimeClass@@XZ) referenced in function "protected: static struct CRuntimeClass * __stdcall CQcGraphView::_GetBaseClass(void)" (?_GetBaseClass@CQcGraphView@@KGPAUCRuntimeClass@@XZ)

Do you have any direction on how to solve this problem?

Thanks

quinncurtis

1164 Posts

Posted - 30 Jun 2011 :  12:54:12  Show Profile  Reply with Quote
Same answer as the sticky topic: GCL 3.0 and MFC 7.0 .

What you need to do is re-compile the GCL libraries using the version of Visual Studio you plan to use. This links in the version of MFC that ships with your version of Visual Studio, rather than the ones that we ship, which links in MFC from Visual Studio 6. The wct32dr3 and wrt32dr3 DLLs do not need to be re-compiled because they have no references to MFC in them.
All installations include GCL library source. Using Visual Studio X.0, load the *.dsw projects in the QCW32\mfclib\source directory and do a Build | Batch Build | Select All | Rebuild on each. This remakes the GCL libraries and copies them to the QCW32\mfclib subdirectory.

At some point you should considering porting your software to .Net, for which we have many graphics tools. We stopped all development work on the Windows/MFC libraries you are using more than 10 years ago, and at some point they are going to stop working. We now offer only very limited support for the products
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07