Would anyone happen to know how to convert type LPTSTR to char * in C++?
LPTSTR
char *
Depends if it is Unicode or not it appears. LPTSTR is char* if not Unicode, or w_char* if so.
Discussed better here (accepted answer worth reading)
2.1m questions
2.1m answers
60 comments
57.0k users