Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DLL

DLL

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++comdebugging
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john5632
    wrote on last edited by
    #1

    I created a dlll using atl libaray with VS2008, how can I debug dll(COM)?

    Q M 2 Replies Last reply
    0
    • J john5632

      I created a dlll using atl libaray with VS2008, how can I debug dll(COM)?

      Q Offline
      Q Offline
      QuickDeveloper
      wrote on last edited by
      #2

      john5632 wrote:

      how can I debug dll(COM)

      I assume you have an Exe associated with that dll. Place breakpoints in your DLL and mention the Executable(exe) as the startup program in your Dll.This way you can step in to the code and watch the variables etc Hope this helps!

      "Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"

      1 Reply Last reply
      0
      • J john5632

        I created a dlll using atl libaray with VS2008, how can I debug dll(COM)?

        M Offline
        M Offline
        Malli_S
        wrote on last edited by
        #3

        Create the test application in the same solution. Put the breakpoints in the COM dll sour code. Load the COM library in that test app, instantiate/query the required Interfaces/CoClasses. This is one of basic technique.

        [Delegates]      [Virtual Desktop]      [Tray Me !]
        -Malli...! :rose:****

        J 1 Reply Last reply
        0
        • M Malli_S

          Create the test application in the same solution. Put the breakpoints in the COM dll sour code. Load the COM library in that test app, instantiate/query the required Interfaces/CoClasses. This is one of basic technique.

          [Delegates]      [Virtual Desktop]      [Tray Me !]
          -Malli...! :rose:****

          J Offline
          J Offline
          john5632
          wrote on last edited by
          #4

          thanks

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups