468,512 Members | 1,531 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

How to convert LPTSTR to char*

Hi,

How to convert LPTSTR to char*.?

Thanks in advance.

Bye
Nov 23 '07 #1
2 15122
AHMEDYO
112 100+
HI..

may be this forum will help you!, if not please explain more what you wanna to do.Thanx

http://www.thescripts.com/forum/thread740413.html

Kind Regards
Nov 23 '07 #2
weaknessforcats
9,207 Expert Mod 8TB
Why do you need to convert an LPTSTR to a char* ???

If you are using the TCHAR macros, this is done for you at preprocessor time based on the character set you are using in your Visual Sutsio project.

That is, for ASCII, a LPTSTR is a char*.

For Unicode it becomes a wchar_t*.
Nov 24 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by sorty | last post: by
9 posts views Thread by alex | last post: by
3 posts views Thread by free2cric | last post: by
1 post views Thread by Steven Blair | last post: by
3 posts views Thread by Mark | last post: by
5 posts views Thread by Neo | last post: by
2 posts views Thread by Abhishek | last post: by
2 posts views Thread by Abhishek | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.