How to LPCTSTR Convert to char *
thank :)
rxgmoral 0 Newbie Poster
Recommended Answers
Jump to PostWhat are you trying to do with it? The C in LPCTSTR stands for Constant. So you are maybe better off without changing it's permissions.
Jump to PostI think you need to use _tcscpy() to do the conversion.
Hope this helps
No. LPCTSTR is defined as const char *. No conversion needed except typecasting to remove the const attribute. Depending …
All 7 Replies
WolfPack 491 Posting Virtuoso Team Colleague
John A 1,896 Vampirical Lurker Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
John A 1,896 Vampirical Lurker Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
rxgmoral 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.