In addition to the other replies, you may want to consider writing a class
to load messages from a stream or the resources class and use resources or
an xml or name=value style file you parse yourself to hold your error
messages. It will definatly come in handy if you intend to localize your
code(just modify the file, no code changes). Infact researching localization
will probably turn up the best techniques to use anyway, even if you don't
intend to localize.
"Ramsin Savra" <rs****@otxresearch.com> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl...
Hi group,
Back to my C and Pascal programming under windows we used to have a
segment or external file to keep common messages (error, warning and ...)!
now what?
how can I have my messages (associated with a project) in a unit or file ?
then I would be able to modifiy just a file instead of the whole messages
in project files ?
thanks in advance