Print Page | Close Window

What is the resource id range?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=9591
Printed Date: 21 May 2024 at 4:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: What is the resource id range?
Posted By: prashant
Subject: What is the resource id range?
Date Posted: 15 February 2008 at 1:00am
Hi,

We are trying to implement calendar control in our application, but when we try to include resource.h for calendar, we are facing resource id conflicts.

I think we need to change resource id's used in our application.

What is the range/number that is used by Codejock for resources?

Thanks in advance
Prashant.



Replies:
Posted By: Oleg
Date Posted: 15 February 2008 at 1:44am
Hi,
We use ids from 9000 to 10000.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: prashant
Date Posted: 15 February 2008 at 5:37am
Hi Oleg,

We are linking statically (_XTP_STATICLINK) and getting following error for many resource id's.

error RC2151 : cannot reuse string constants

Please note:

Case 1:
When I use #include <XTToolkitPro.rc> in following macro, it doesn't gave me any error, (but my application crashes while finding resource for id 9000 i.e. Today for calendar control)

 TEXTINCLUDE DISCARDABLE
BEGIN
END

Case 2:
But when I include #include <XTToolkitPro.rc> outside above mentioned macro, directly in my rc file it gives me following error

error RC2151 : cannot reuse string constants


Any work around?

Thanks in advance,
Prashant.


Posted By: Oleg
Date Posted: 17 February 2008 at 5:11am
Hi,
Don't used Ids from our range (9000-1000)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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