what about a dll?
Resource files means that they have to be compiled with your exe,
everytime you change something in the resource file you have to recompile
all the 700 exes, the only advantage is that you will be working on one file
and not dig into 700+ files.
I'm not sure how to do, but by having those in a dll you can only modify
the dll and update it to the client site to work with the same exe that was
already installed without any further modifications.
Vahan
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf
Of kannan swamy
Sent: Wednesday, November 09, 2005 3:22 PM
To: [email protected]
Subject: [delphi-en] resource files
Hi,
I have some problems with resource file. I want to
store all the error and show messages in a resource
file. I have more than 700 Exes,bpls and dlls and want
to have a single resource file which can be shared. I
extracted all the showmessage strings and converted
into resourcestrings. Once the exe or bpl is compiled
all the resourcestrings goes into the resourcefile.
For an instance
Showmessage('sample')
With a tool i transformed sample to a resource string
like
resourcestring
SSample ='sample';(this goes into a resourcestring)
showmessage(ssample)(this code changes automatically
by the tool)
the advantage is in that i don't have to explicitly
change in all showmessages. If i change the string in
the resource file the changes are reflected
automatically in the exe without recompiling it. But
the problem is i want to have a single resource file
which can be shared by all the exes and bpls. I tried
using loadstr(integer value)in each and every
showmessage but that is time consuming. I want a
solution where i can have a single resource file to be
shared by all exes and not explicitly go and change
the showmessages. I tried with the following options.
One more thing when u recompile the application all
the resourcestrings will be rebuilt and values in the
sourcecode goes into the resource files.
Delphi resource wizard dll.
localizer tools ,model maker.
thanks
Krishna
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS C programming language Computer programming languages Java
programming language
The c programming language C programming language Concept of
programming language
----------------------------------------------------------------------------
----
YAHOO! GROUPS LINKS
a.. Visit your group "delphi-en" on the web.
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
----------------------------------------------------------------------------
----
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/