Perhaps "resourcestring" will help?

I don't remember what version of Delphi they first appeared, but sounds like
it would suite your needs.

>From the Delphi 2006 Help:

Resource strings are stored as resources and linked into the executable or
library so that they can be modified without recompiling the program.
 
Resource strings are declared like other true constants, except that the
word const is replaced by resourcestring. The expression to the right of the
= symbol must be a constant expression and must return a string value. For
example,
 resourcestring
  CreateError = 'Cannot create file %s'; 
  OpenError = 'Cannot open file %s';  
  LineTooLong = 'Line too long';
  ProductName = 'Borland Rocks';
  SomeResourceString = SomeTrueConstant;


 
David Cornelius
Cornelius Concepts, Inc.
http://corneliusconcepts.com
Software Development, Databases, Websites
 

________________________________

From: Emmanuel Lamy [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 19, 2006 9:45 AM
To: [email protected]
Subject: [delphi-en] Compiled string values



Hi everybody,

Anyone out there knows about a TStrings component I can use to store 
updated string values in the compiled exe file, as opposed to saving 
the strings in an external file? Any techniques, or workaround will be 
appreciated. TIA.

Emmanuel

Reply via email to