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

Problem with Codejock Sample

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

Joined: 09 May 2003
Location: United States
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote jwhagen Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Codejock Sample
    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



Edited by jwhagen
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: 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
Back to Top
jwhagen View Drop Down
Groupie
Groupie
Avatar

Joined: 09 May 2003
Location: United States
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote jwhagen Quote  Post ReplyReply Direct Link To This Post 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

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.141 seconds.