Click to See Complete Forum and Search --> : Converting system::string to LPCTSTR


abcdefgqwerty
May 8th, 2007, 03:13 PM
Sometimes I wonder why a string object doesnt have methods to convert to and from all string types. Anyways im stumped on converting a string to a LPCTSTR which is a long pointer to a const tchar string right?
I read some forum posts and code project pages but I didnt understand exactly how to convert these.

abcdefgqwerty
May 8th, 2007, 04:08 PM
I figured it out. This post can be deleted i guess.