Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - LINK problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

LINK problem

 Post Reply Post Reply
Author
Message
unicef View Drop Down
Newbie
Newbie


Joined: 17 February 2005
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote unicef Quote  Post ReplyReply Direct Link To This Post Topic: LINK problem
    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.
Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ICBM View Drop Down
Groupie
Groupie


Joined: 15 January 2004
Location: New Zealand
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ICBM Quote  Post ReplyReply Direct Link To This Post 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).

 

Back to Top
unicef View Drop Down
Newbie
Newbie


Joined: 17 February 2005
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote unicef Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
ICBM View Drop Down
Groupie
Groupie


Joined: 15 January 2004
Location: New Zealand
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ICBM Quote  Post ReplyReply Direct Link To This Post 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

 

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
unicef View Drop Down
Newbie
Newbie


Joined: 17 February 2005
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote unicef Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.064 seconds.