![]() |
LINK problem |
Post Reply
|
| Author | |
unicef
Newbie
Joined: 17 February 2005 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: LINK problemPosted: 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. |
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
ICBM
Groupie
Joined: 15 January 2004 Location: New Zealand Status: Offline Points: 57 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 February 2005 at 1:57pm |
|
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).
|
|
![]() |
|
unicef
Newbie
Joined: 17 February 2005 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 February 2005 at 9:05am |
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) |
|
![]() |
|
ICBM
Groupie
Joined: 15 January 2004 Location: New Zealand Status: Offline Points: 57 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 February 2005 at 5:12pm |
|
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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
unicef
Newbie
Joined: 17 February 2005 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 February 2005 at 10:59am |
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. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |