OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Mohammad Saleem (mohammad.saleemMAMEA.SE)
Date: Tue May 28 2002 - 05:03:02 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I tried what you mentioned.
    My debugger startar when I do the following
    "debug from the task manager"

    I notice two things.

    1. I get to assembly code. I wonder how I can get to source code. I tried
    with menu option "go to source code" and even with F10 but nothing worked.

    2. Even if it is assembly code I moved forward to start my client
    and followed the steps in a debugger.

    a. hr =
             CoCreateInstance(CLSID_Control,
             NULL,
             CLSCTX_LOCAL_SERVER,
            // CLSCTX_ALL,
             IID_IUnknown,
             (VOID FAR **) &pUnk);
    I get hr ==0

    b. hr = pUnk->QueryInterface(IID_ICo.....)
     still hr==0

    c.
    IUnknown* pEvent = NULL;
     hr = pControl->Connect(pEvent);
    hr == 0x80010105

    i.e. Debugger never gets started.

    what am I missing?

    regards
    /saleem
    -----Original Message-----
    From: Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM]On
    Behalf Of Remy Jaudun
    Sent: Tuesday, May 28, 2002 11:33 AM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: 0x80010105 error code

    Hi,

    Yes, I mean debug from the task manager. You don't need to worry where you
    are when the client starts (you don't need to set any breakpoint in the
    service), the only important thing is that the debugger will break at the
    point where the exception is raised when the client calls Connect().

    Regards
    Rémy

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM