windbg.info
Home Search
 You are here: arrow Home Forum

Search Our Site

www.windbg.info
Welcome, Guest
Please Login or Register.    Lost Password?
Creating a process server
(1 viewing) 1 Guest
Go to bottom
TOPIC: Creating a process server
#123
Pankaj (User)
Posts: 1
User Offline

Creating a process server 23 Sep 2011 - 04:45
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
 
  Logged IP
  The administrator has disabled public write access.
Go to top
  up top of page up  
 

Copyright © 2024 WinDbg.info. All Rights Reserved.
Page generated in 0.0004 seconds.