NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Using DBG from through COM


Joined: 05 Apr 2007
Posts: 1
Reply with quote
Hello.
I try create tool (IDE) that uses Php DBG Debugger.
I use VS 2003 (C++).
I use dbg-2.13.1-cli-w32 (DbgListener.exe + PHPDbgPS.dll).
I've implemented IPhpDbgSite2 interface in COM server.
Then I create IDbgListener2 by CoCreateInstance.
Then I use IDbgListener2::Start function and pass CLSID of my COM server (that implements IPhpDbgSite2).
Also I try call IDbgListener2::StartSession function, but this functino returns fail HRESULT.

I've implemented COM server as EXE and as DLL.
But in any case my implementation of IPhpDbgSite2 does not receive any handling.

what I do wrong?
Can anyone explain me how use this tool?
View user's profileFind all posts by arsenmemSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
your class implemting IPhpDbgSite2 should be registered as CoClass with its unique CLSID and should be registered in the category under CATID_PHPDBG, then you'll see it in dbglistener dropdown and that's enough to a) have your CoClass be created by dbglistener b) to have its methods like events called by dbglistener.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Using DBG from through COM
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic