Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Unresolved External
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Unresolved External

 Post Reply Post Reply
Author
Message
decembler View Drop Down
Groupie
Groupie
Avatar

Joined: 09 March 2006
Location: Germany
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote decembler Quote  Post ReplyReply Direct Link To This Post Topic: Unresolved External
    Posted: 14 September 2007 at 6:59am
I implemented the new CXTPSyntaxEdit V11.1.3 in my Application.
When I link the Debug Version everything is fine, but when I link the Release
build I get a link-error:

error LNK2001: "public: int __thiscall CXTPSyntaxEditBufferManager::CXTPSyntaxEditStringsManager::GetCount(void)const " (?GetCount@CXTPSyntaxEditStringsManager@CXTPSyntaxEditBufferManager@@QBEHXZ)

I compare my project-settings and step through the source code, but I can't find anything.

Any Ideas, Tom
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 15 September 2007 at 1:17am
Hello,
 
try to put Toolkit  project to your workspace and rebuild it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
decembler View Drop Down
Groupie
Groupie
Avatar

Joined: 09 March 2006
Location: Germany
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote decembler Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 8:49am
Sorry, but I build all the librarys in the Toolkit project , include the Toolkit project in my project rebuild all agin, no effect.
I have attached a small simple project which use the new CXTPSyntaxEditView and brings the link error on relaese build:
 
 
Is there anyone who can build this without unresolved externals?
 
Tom
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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 September 2007 at 2:26am
Hello,
 
Try to unistall and install toolkit again. May be you somehow modified toolkit files.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
decembler View Drop Down
Groupie
Groupie
Avatar

Joined: 09 March 2006
Location: Germany
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote decembler Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2007 at 8:32am
I had never made changes on der Toolkit Source,
but I've solved the problem by changeing the source.
 
I changed the code for GetRowCount() function to:
 
return (m_Strings.m_arStrings.GetSize() ? ((int)m_Strings.m_arStrings.GetSize()-1) : 0);
 
I think the problem is that the function is inline and calls a normal
function of a nested class...
 
Tom
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 19 September 2007 at 2:02pm
Hello,
its strange. have to work. 
 
Think its some compiler bug. Do you have sp5 or sp6 instsalled for vc6 ?
 
Anyway we will move function from inline to implementation....
 
Thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.172 seconds.