Print Page | Close Window

Problem with Codejock Sample

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=650
Printed Date: 24 December 2024 at 7:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with Codejock Sample
Posted By: jwhagen
Subject: Problem with Codejock Sample
Date Posted: 22 April 2004 at 3:14pm

   I am trying various aspects of the development system and using the GUI_VisualStudio7 sample (VC++ 6.0). When I compile and run the program in Unicode, Shared DLL, everything works great. When I change to Unicode Debug, Static I end up with the following error:

CImageList::ExtractIconW(int 0x00000000) line 489 + 38 bytes
CXTPImageManager::SetIcons(CImageList & {CImageList}, unsigned int * 0x0012fdb0, int 0x00000002, CSize {cx=0x00000010 cy=0x00000010}, XTPImageState xtpImageNormal, int 0x00000000) line 1393 + 12 bytes
CXTPTabClientWnd::CXTPTabClientWnd() line 515
CMainFrame::CMainFrame() line 58 + 97 bytes
CGUI_VisualStudio7App::InitInstance() line 113 + 50 bytes
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, unsigned short * 0x0002087a, int 0x00000001) line 39 + 11 bytes
wWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, unsigned short * 0x0002087a, int 0x00000001) line 30
wWinMainCRTStartup() line 198 + 54 bytes
KERNEL32! 7c581af6()

This error is reproducable using the original project supplied by Codejock. I have not added any code. Can you tell me what to do to fix this please? Thanks!

John Hagen




Replies:
Posted By: Oleg
Date Posted: 23 April 2004 at 1:38pm

you need to include resources for static library.

add #include <XTToolkitPro.rc>
 to your *.rc2 file



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jwhagen
Date Posted: 26 April 2004 at 6:53am

Hi Oleg,

Yes, that took care of the problem. You may want to fix the GUI_VisualStudio7 sample code so it doesn't have this problem in the future.

Thanks for the help!

John




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