Results 1 to 6 of 6

Thread: Active X DLL

  1. #1
    Guest

    Lightbulb

    I created an ActiveX DLL. I am currently testing this DLL and ran into the following problem.

    I created a text.exe that instantiates the DLL.
    When testing I can only get the DLL to work correctly when I have it opened and started on my desktop. When I just run the test.exe that I created.

    Can anyone explain why my code would work as needed when the DLL is started and running and why it does not work when it isn't.

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    When doesn't the DLL function correctly and what errors do you get? What do you mean by "opened and started on my desktop"? what does the ActiveX?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Guest
    If you get the error while the DLL is running, then it's probably in error in your code.

  4. #4
    Guest
    Well I'm not getting the error when the DLL is running (opened in VB and started). I only get the error when I just run the EXE (with out the DLL opened and started). If I have both opened and running then everything works fine.



  5. #5
    Member surfmstr's Avatar
    Join Date
    Feb 2000
    Location
    St Louis, MO USA
    Posts
    48

    Cool

    Have you actually compiled the class into a DLL and registerd it on your PC? It sounds like maybe not. Just a sanity check.
    The surfer!
    [email protected]

    There come's a time in the affairs of a man when he must take the bull by the tail and face the situation.

    - W. C. Fields

  6. #6
    Guest
    Yes, I compiled it.... I know that after hours of staring at this stuff I do wonder if I would forget something like that.
    I've recoded the DLL and now it's working however I still am perplexed on why it wasn't before.
    Thanks anyway.

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