Results 1 to 3 of 3

Thread: ActiveX DLL, Debugging code when late binded.

  1. #1

    Thread Starter
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049

    ActiveX DLL, Debugging code when late binded.

    Okay; Been a while since I've posted my own little dillema's.. Hopefully someone can point me in the right direction.

    I'm building an application that's basically a base for late-binded DLL's that clients talk to.

    Client --> Base --> Module(DLL)
    The module responds and the Base just sends it back.

    Anyway; Now the slight problem. It seems to be impossible to debug the code while being in the IDE (when working on the DLL. Waiting for the component to be created doesn't do anything at all. - I assume that it's waiting for it's GUID to be instanced?) - Is this a known problem and has someone solved this or am I now basically forced to log every action I do inside the module so if any problems occur I can track it via the log?

    If the DLL hasn't been registered yet it's being registered on the spot (I'm thinking that this might be part of the problem and that the GUID's are mismatched at that point. Though it should only register if it can't find it.)

    Oh before someone asks; I bind them by CreateObject, the data supplied comes from my script engine that's being parsed after initial start-up.

    If anyone has any ideas or pointers feel free to reply =)

  2. #2

    Thread Starter
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049

    Re: ActiveX DLL, Debugging code when late binded.

    Mmh .. either not a lot of people are reading this dark part of the forum or no one has an idea? :/

  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: ActiveX DLL, Debugging code when late binded.

    I have been able to live-debug everything I have ever worked on in VB6 except for a single case where I had a Singleton ActiveX control that used the ROT to set itself up as a Running Object.

    In this case, the Object was known as VB6.exe and not its own executable name. If you are not doing this, then you should be able to debug any source code you have loaded in the IDE.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

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