convert ansistring to const char*

Hi,
How to convert an AnsiString to const char *

Thanx
puce020497Asked:
Who is Participating?
 
fasterConnect With a Mentor Commented:
AnsiString is just char *, if a function accept const char * as its parameter, you simply need to do a cast.

Maybe you can give more detail description if I don't understand your question correctly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.