Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - where should I include "XTToolkitPro.rc"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

where should I include "XTToolkitPro.rc"

 Post Reply Post Reply
Author
Message
yycinter View Drop Down
Groupie
Groupie


Joined: 06 October 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote yycinter Quote  Post ReplyReply Direct Link To This Post Topic: where should I include "XTToolkitPro.rc"
    Posted: 06 October 2008 at 3:04am
Dear all,

I am using Report Ctrl component and try to statically link wtih eXtrem Toolkit Pro lib.
It report an Assertion "VERIFY(XTPResourceManager()->LoadBitmap(&bmp, XTP_IDB_REPORT_GLYPHS))".

Google told me I should include "XTToolkitPro.rc" in myproject.rc2 file.

But problem is I don't use rc & rc2 file in my project, all UI position is defined in our xml file.

I tried include "XTToolkitPro.rc" in my stdafx.h, but got follow error:

1>c:\client\xtreme toolkitpro v12.0.0\source\Calendar/res/Resource-Neutral.rc(28) : error C2143: syntax error : missing ';' before 'constant'
1>c:\client\xtreme toolkitpro v12.0.0\source\Calendar/res/Resource-Neutral.rc(28) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

I am a new comer to MFC & eXtrem toolkit. Thanks for your time!
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 06 October 2008 at 8:57am

Hello,

If you don't have rc file, you have load external dll with toolkit resources. Compile one in Workspace\Resource folder and load with XTPResourceManager()->SetResourceFile(...);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
yycinter View Drop Down
Groupie
Groupie


Joined: 06 October 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote yycinter Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2008 at 9:47pm
Thanks for your response!

Which dll include toolkit resource? ToolKitPro1200vcxxxx.dll?
If it need be created by myself, I only use ReportCtrl, what should I include in my resource dll?

Could you give more detail?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.516 seconds.