Would anyone happen to know how to convert type LPTSTR
to char *
in C++?
Would anyone happen to know how to convert type LPTSTR
to char *
in C++?
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)