Hi,
I'm trying to create a process server.
To do this I create a client object and call the StartProcessServer() function.
if ( (status = DebugCreate(__uuidof(IDebugClient), (void**)&client)) != S_OK )
{
fprintf(stderr, "DebugCreate() failed, 0x%X\n", status);
return;
}
if ( (hr = client->StartProcessServer(DEBUG_CLASS_USER_WINDOWS, opt, NULL)) != S_OK )
{
fprintf(stderr, "Error: StartProcessServer() failed: %X\n", hr);
return;
}
But the StartProcessServer() always fails with return value 0x8007053D.
Why does it fail? Is there anything I missed?
Thanks,
Pankaj