Jump to content
Sign in to follow this  
ChrisJ

Resource string id range

Recommended Posts

When Delphi compiles the PE files is stores resource strings to the STRING_TABLE resource and generates an id for each resource. Delphi seems to start the highest resource string id (65535) and goes down as far as you have resource strings. 

 

Is there any way to control what is the range that are used? I mean can we specify that start from 50000 and go down. Or can we specify some ranges that are not assigned.

 

The reason for this question is that there are some 3rd party components that use RC/RES files to store strings and some of the use this high end of id range. That will cause an id conflict with the Delphi generated resource strings id and the id in the RC/RES file.

Share this post


Link to post

Hmm, quick search gave no results... I suspect this is not configurable. The only solution that comes to mind is to have string stubs specially intended for overriding. But the number of these strings must be kept aligned to those 3rd party RC's

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×