开发者

IDebugControl WaitForEvent: Only part of a ReadProcessMemory or WriteProcessMemory request was completed

I created a process using:

hr = pClient->CreateProcess(0,(char*)(sCommandLine.c_str()),DEBUG_PROCESS); // CComPtr pClient

After setting breakpoints (no errors here), when I call:

hr = pControl->SetExecutionSt开发者_开发问答atus(DEBUG_STATUS_GO); // CComPtr pControl

hr = pControl->WaitForEvent(DEBUG_WAIT_DEFAULT,INFINITE);

I get the following error:

hr 0x8007012b Only part of a ReadProcessMemory or WriteProcessMemory request was completed. HRESULT

Both the target and current applications are 32-bit and developed in Windows 7 using Visual studio 2010. Is there a way to resolve this error?

Thanks,

Logan

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜