Print Page | Close Window

Unresolved External

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=8003
Printed Date: 23 November 2024 at 8:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Unresolved External
Posted By: decembler
Subject: Unresolved External
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: decembler
Date 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:
 
https://forum.codejock.com/uploads/20070917_084618_SETest.zip - uploads/20070917_084618_SETest.zip
 
Is there anyone who can build this without unresolved externals?
 
Tom


Posted By: Oleg
Date 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


Posted By: decembler
Date 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


Posted By: Oleg
Date 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



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