I've got
AnsiString foo;
How do I pass this to a function which needs a char?
(eg., strcpy, etc).
Answer:
foo->c_str().
The c_str() method of the AnsiString class returns
a const char* which can be used to read, but not
modify, the underlying string.