PARSECMDLINESENDW crash
Posted: Wed Aug 07, 2019 6:44 am
Why this code crash?
Code: Select all
typedef struct {
const wchar_t* pCmdLine;
const wchar_t* pWorkDir;
} PARSECMDLINESENDW;
PARSECMDLINESENDW pcls;
pcls.pCmdLine = L"/Exec(\"calc.exe\")";
pcls.pWorkDir = L"";
SendMessage(FindWindow("AkelPad4", NULL), WM_USER + 125, 0, (LPARAM)& pcls);