-
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.
-
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?
-
If you get the error while the DLL is running, then it's probably in error in your code.
-
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.
-
Have you actually compiled the class into a DLL and registerd it on your PC? It sounds like maybe not. Just a sanity check.
-
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.