error C2065: “_ LPW “: undeclared identifier

Error C2065: “_lpw” : undeclared identifier
error C2065: “_convert” : undeclared identifier
error C2065: “_acp” : undeclared identifier

Reason: when converting CString into char*, T2A is used, without adding
USES_CONVERSION;  

Read More: