Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - What is the resource id range?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

What is the resource id range?

 Post Reply Post Reply
Author
Message
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Topic: What is the resource id range?
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 15 February 2008 at 1:44am
Hi,
We use ids from 9000 to 10000.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 17 February 2008 at 5:11am
Hi,
Don't used Ids from our range (9000-1000)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.