Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Shortcut Bar
  New Posts New Posts RSS Feed - ShortCut bar AssErt
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ShortCut bar AssErt

 Post Reply Post Reply
Author
Message
wzquyin View Drop Down
Newbie
Newbie


Joined: 11 June 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wzquyin Quote  Post ReplyReply Direct Link To This Post Topic: ShortCut bar AssErt
    Posted: 12 June 2008 at 12:03am
I create a shorcut bar in dialog
and show a assert when running
 
 CXTPImageManagerIconHandle iconHandle;
 iconHandle.CreateIconFromResource(AfxFindResourceHandle(MAKEINTRESOURCE(XTP_IDI_SHORTCUT_EXPAND_ALPHA),
  RT_GROUP_ICON), MAKEINTRESOURCE(XTP_IDI_SHORTCUT_EXPAND_ALPHA), CSize(16, 16), TRUE);
 ASSERT(!iconHandle.IsEmpty());<---assert here-->
 
 
why why?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group
Avatar

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: 12 June 2008 at 12:07am
Hi,
Guess you link application statically and didn't include toolkit resource.
 
try add
#include "XTToolkitPro.rc" in res\app.rc2 file.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.