Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~578 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for alexandernst

I'm trying to convert LPWSTR to LPSTR withi this: [CODE] LPWSTR *argvw; int argc; argvw = CommandLineToArgvW(GetCommandLineW(), &argc); LPSTR argv = new CHAR[argvw->size()+1]; WideCharToMultiByte(CP_ACP, 0, argvw->c_str(), -1, argv, (int)argvw->size()+1, 0, 0); [/CODE] but I'm getting this: [CODE] main.cpp:14: error: request for member 'size' in '* argvw', which is of non-clas …

Member Avatar for Ancient Dragon
0
578