Print Page | Close Window

Errors in my App after installing 9.50

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=1250
Printed Date: 06 November 2025 at 2:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Errors in my App after installing 9.50
Posted By: jwhagen
Subject: Errors in my App after installing 9.50
Date Posted: 07 October 2004 at 3:46pm

I downloaded the updated version today (thanks!) and everything installed just fine. When I recompiled my project so it would implemet the 950 version, I am now picking up errors in the compiler. I was wondering if you could tell me how to fix this error. What I get for an error message is:

error C2385: 'CXTTreeCtrl::GetNextItem' is ambiguous
warning C4385: could be the 'GetNextItem' in base 'CTreeCtrl' of base 'CXTTreeBaseT<class CTreeCtrl,class CXTTreeBase>' of class 'CXTTreeCtrl'
warning C4385: or the 'GetNextItem' in base 'CXTTreeBase' of base 'CXTTreeBaseT<class CTreeCtrl,class CXTTreeBase>' of class 'CXTTreeCtrl'

My function is as follows:

HTREEITEM CPaneEngineParameters::GetFirstCheckedItem(void)

{

   CXTTreeCtrl* pTreeCtrl;

   for ( HTREEITEM hItem1 = pTreeCtrl->GetRootItem();

      hItem1!=NULL;

      hItem1 = pTreeCtrl->GetNextItem( hItem1 );

   )

   if ( IsItemChecked(hItem1) )

      return hItem1;

   return NULL;

}

Thanks.

John Hagen




Replies:
Posted By: cpede
Date Posted: 08 October 2004 at 4:56am

And I can add:

unresolved external symbol "__declspec(dllimport) public: int __thiscall CXTTreeBaseT<class CTreeCtrl,class CXTTreeBase>::SetItemState(struct _TREEITEM *,unsigned int,unsigned int)" ( __imp_?SetItemState@?$CXTTreeBaseT@VCTreeCtrl@@VCXTTreeBase@ @@@QAEHPAU_TREEITEM@@II@Z)

- cpede



Posted By: Graham
Date Posted: 08 October 2004 at 5:36am

And I can add:

CXTPropertyGridItem::GetFirstChildItem() and
CXTPropertyGridItem::GetNextChildItemm(POSITION& rPosition)
 
have both been removed.
 
Graham


Posted By: jscott
Date Posted: 08 October 2004 at 4:06pm
I'm getting these problems too.  Is there any resolutions yet?


Posted By: Oleg
Date Posted: 11 October 2004 at 12:09am
We agree we have problems with TreeCtrl in 9.50. We will release 9.51 soon to fix it.

-------------
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