Debugging c++ code with Interoperability

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ronny

    Debugging c++ code with Interoperability

    I work with VS2005.
    I managed to add to my C# solution a C++ MFC regular dll project. I added
    win32 functions and managed to export them to the c# code and call them with
    the interoperabilit y maechanism.
    Trying to debug the unmanaged code I saw that I simply jump across it and
    never jump into it.
    Is there a way to do it?
    Regards
    Ronny


  • Adam Benson

    #2
    Re: Debugging c++ code with Interoperabilit y

    Try right clicking on your project and calling up the project properties. Go
    to the debug tab.

    There should be a tick box marked "Enable unmanaged code debugging" Select
    it.

    I should add that I've only ever done in this in VS 2003 and VS 2008 so it
    may be slightly different for VS 2005 (which we just hopscotched over.)

    HTH,

    Adam.
    ========


    Comment

    • Ronny

      #3
      Re: Debugging c++ code with Interoperabilit y

      thanks Adam,
      I tried to follow your advise but I couldn't find it. Either I miss
      something or it is simple not supported.
      Regards
      Ronny

      "Adam Benson" <Adam.Benson@NO SPAMMYSPAM.omni bus.co.ukwrote in message
      news:%23BQKVING JHA.3800@TK2MSF TNGP05.phx.gbl. ..
      Try right clicking on your project and calling up the project properties.
      Go to the debug tab.
      >
      There should be a tick box marked "Enable unmanaged code debugging"
      Select it.
      >
      I should add that I've only ever done in this in VS 2003 and VS 2008 so it
      may be slightly different for VS 2005 (which we just hopscotched over.)
      >
      HTH,
      >
      Adam.
      ========
      >

      Comment

      Working...