![]() |
ShortCut bar AssErt |
Post Reply
|
| Author | |
wzquyin
Newbie
Joined: 11 June 2008 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: ShortCut bar AssErtPosted: 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?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |