Print Page | Close Window

where should I include "XTToolkitPro.rc"

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=12338
Printed Date: 29 September 2024 at 11:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: where should I include "XTToolkitPro.rc"
Posted By: yycinter
Subject: where should I include "XTToolkitPro.rc"
Date 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!



Replies:
Posted By: Oleg
Date 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


Posted By: yycinter
Date 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?



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