DLL Debuggin'
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Thread: DLL Debuggin'

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    158

    DLL Debuggin'

    I've got a DLL that I'm trying to debug. I've inherited this code and cannot get in touch with the original developer to find out what to do.

    This dll gets called to build a webpage. When I set a break point on the function getting called, the dll breaks just fine.

    A bunch of Dim statements get called including
    Code:
    Dim objContext As COMSVCSLib.ObjectContext
    Then a bit later (the first actual line to debug)
    Code:
    Set objContext = GetObjectContext
    This isn't doing much of anything. objContext is not populated with anything.
    The thing is, if I'm not debugging, everything works fine. I'm just trying to walk through the code to get a feel for the way things work. There's a ton of function calls and I do much better if I can walk through, ya know.

    Does anyone have any ideas?

    Someone suggested permission issues in the Component Services, which I've changed to include the IUSR, but that had no effect.

    Thanks for your time.

    edit -
    I've debugged other DLLs for this application, none of them use COMSVCSLib though, so I think that's the main part of the problem.
    Last edited by stin; November 11th, 2008 at 09:33 AM. Reason: added clarification

  2. #2
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: DLL Debuggin'

    Seeing a line of code like this suggests to me that there should be a COM Component somewhere that's probably registered and being used under MTS.
    If you find my answers helpful, dont forget to rate me

  3. #3
    Join Date
    Oct 2005
    Posts
    158

    Re: DLL Debuggin'

    Could you expand on this a bit? I'm not really very hip to the DLL thing yet.

  4. #4
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: DLL Debuggin'

    If you go into the Management console, you should find a number of MTS Package's. If you run the code that calls this Dll, watch the Packages and see which one starts running. If you have load's it might be tricky to see which one it is, however, you should be able to work through the packages to work out which one it is.
    If you find my answers helpful, dont forget to rate me

  5. #5
    Join Date
    Oct 2005
    Posts
    158

    Re: DLL Debuggin'

    I had to set up my console, but I didn't see MTS in the list of sanp-ins to add. I added 'Component services' Which has a 'Distributed Transaction Coordinator' in it, but I didn't see anything else. Any other ideas??

  6. #6
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: DLL Debuggin'

    in that case it could just be a component under component services. Are there any components that look as though they may have been Application based as opposed to system Based.
    If you find my answers helpful, dont forget to rate me

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center