Print Page | Close Window

LINK problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1807
Printed Date: 07 November 2025 at 9:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: LINK problem
Posted By: unicef
Subject: LINK problem
Date Posted: 17 February 2005 at 5:26pm
I tried to compile my existed code with the latest toolkit v9.6. I got some link problems. For example:

error LNK2019: unresolved external symbol "public: __thiscall CXTPPropertyGridItemColor::CXTPPropertyGridItemColor(class
ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class ATL::ChTraitsCRT<unsigned short> > >,unsigned long,unsigned long *)"
(..0CXTPPropertyGridItemColor@@QAE@V.$CStringT@GV.$StrTrai tMFC_DLL@GV.$C
hTraitsCRT@G@ATL@@@@@ATL@@KPAK@Z)

FYI. I used VC.NET 7.1.

Any help would be greatly appreciated.



Replies:
Posted By: Ark42
Date Posted: 17 February 2005 at 6:21pm

Did you uninstall the old version first? Because the directions specifically tell you to do so or you will get errors like that.




Posted By: Oleg
Date Posted: 18 February 2005 at 3:27am
I think we problem again with "Treat wchat_t as Buil-ni Type" option for Unicode application. Try switch it to "Yes".

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ICBM
Date Posted: 20 February 2005 at 1:57pm

Originally posted by Ark42 Ark42 wrote:


Did you uninstall the old version first? Because the directions specifically tell you to do so or you will get errors like that.


There's no problem with these products co-existing, I never delete my previous version until I have tested the new one. You just need to be careful that the new version is specified before the old one in your project settings (INCLUDE path in particular).

 



Posted By: unicef
Date Posted: 21 February 2005 at 9:05am
Originally posted by oleg oleg wrote:

I think we problem again with "Treat wchat_t as Buil-ni Type" option for Unicode application. Try switch it to "Yes".


Hi oleg,

Thanks very much for your help. It improved a lot. But still I got link problems. I used Rogue Wave library. Rogue Wave just provides makefile. I need to turn this option on for every library, right? BTW, the previous toolkit doesn't need it which is the way I like.

error LNK2019: unresolved external symbol "public: class SECLayoutNodeWnd * __thiscall SECLayoutFactory::CreateNodeWnd(class CWnd *,class CWnd *,class SECLayoutNode *,wchar_t const *)"

Here is declaration:
SECLayoutNodeDCBase* SECLayoutFactory::CreateNodeDC(CWnd*,SECLayoutNode*, const SECLayoutNodeDCClassFactory&, LPCTSTR)


Posted By: ICBM
Date Posted: 21 February 2005 at 5:12pm

Originally posted by oleg oleg wrote:

I think we problem again with "Treat wchat_t as Buil-ni Type" option for Unicode application. Try switch it to "Yes".

Oleg,

I advise against this - personally I changed the codejock library to 'No'. Many third party libraries (in fact all I have used) always build this with 'No', you are putting your hands up to compatibility issues. I would urge you to change this back to 'No', as it was for 9.51.

Ian

 



Posted By: Oleg
Date Posted: 22 February 2005 at 2:23am

We changed it to "yes", because new MFC application created with MFC wizard switch it to "yes". So we had a lot of questions because of it.

 

Anyway, each can open project in IDE and change this option.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: unicef
Date Posted: 23 February 2005 at 10:59am
Originally posted by oleg oleg wrote:

We changed it to "yes", because new MFC application created with MFC wizard switch it to "yes". So we had a lot of questions because of it.

 

Anyway, each can open project in IDE and change this option.



I changed this option to "No" for both XTPToolkit_Lib and ReportSample (UNICODE build / static link).  Still I got link problem. Any idea? Thanks in advance.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net