CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    10

    Unable to debug COM server.

    Hi,
    I have created a plugin for Microsoft Outlook say OutlkPlugin.dll and created a COM server say OutlkEXE.exe. The Outlook plugin is loaded successfully and i am able to call the API's in COM server(OutlkEXE.exe) that was exposed through Interfaces from OutlkPlugin.dll

    But i m UNABLE TO DEBUG my COM server(OutlkEXE.exe) by setting OUTLOOK.exe as executable.

    Env:

    1. I m able to debug my OUtlook Plugin - OutlkPlugin.dll by setting OUTLOOK.exe as executable.

    2. both Outlook Plugin(OutlkPlugin.dll) & COM server(OutlkEXE.exe) are copied to
    a common path in debug mode.

    3. COM server is registered.

    4. Technology used VC++.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Unable to debug COM server.

    See this:
    http://www.codeguru.com/forum/showthread.php?t=322238

    One of the easiest approach is to place
    Code:
    DebugBreak();
    in your DLL/EXE you want to debug. Run Outlook.exe, as usual, when program control reaches this code, it will show some dialog. From there you can debug.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: Unable to debug COM server.

    Check this parameter...
    Attached Images Attached Images
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured