Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7716325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:36:29+00:00 2026-06-01T02:36:29+00:00

I am trying to debug some problems in a native C++ COM DLL I

  • 0

I am trying to debug some problems in a native C++ COM DLL I have created and would like to launch the Visual Studio (2008) debugger from this. This dll is called by another dll that I was given, so basically my code plugs into another application through this. Anyway, in the past I had used C# to create this dll and was able to use the System.Diagnostics.Debugger.Break() method. Is there anything similar to this that can be used? I saw a few posts about DebugBreak and __debugbreak but this did not seem to work, it just appeared to stop my code from executing beyond that statement.

EDT: I followed the advice of paulsm4 below and found that the breakpoints did not work, it would tell me: “The breakpoint will not currently be hit. No Symbols have been loaded for this document”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:36:31+00:00Added an answer on June 1, 2026 at 2:36 am

    Ideally, you’ll have the project source for your COM/ActiveX .dll.

    If that’s the case, just set a break point in your .dll code, run your program in the debugger … and that’s it.

    Please note the distinction between “managed code” (e.g. a C#/.net .exe or .dll) and “native code” (like your COM/ActiveX .dll). To debug “native code” under MSVS2008, you’ll need to specify “mixed mode”:

    http://msdn.microsoft.com/en-us/library/kbaht4dh%28v=vs.90%29.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to debug some problems we have with a web service, and would
I am trying to debug some win32API's like Createthread which returns a handle. How
I'm trying to debug an android app that call native code to do some
Possible Duplicate: MySQL: determine which database is selected? I'm trying to debug some problems
The problem: I am trying to debug some focus-related problems in my Java Swing
I am trying to work on a project in Visual Studio 2008 Professional. Earlier,
I'm trying to debug some IE-only issues for a site I'm developing. I'm running
I am trying to debug some exe in windbg. Now its calling some thirdparty
I'm trying to debug some code in the .NET Framework. Unfortunately, many of the
I'm trying to use Firebug to debug some Javascript that entails blur and focus

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.