Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Windows
 Charting and Real-Time Graphics Tools for Windows
 Linking errors with VS2010

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]


T O P I C    R E V I E W
kbrinkley Posted - 30 Jun 2011 : 11:37:50
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?

1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 30 Jun 2011 : 12:54:12
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

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07