|
-
Oct 12th, 2000, 04:58 PM
#1
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.
-
Oct 12th, 2000, 05:08 PM
#2
transcendental analytic
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.
-
Oct 12th, 2000, 06:05 PM
#3
If you get the error while the DLL is running, then it's probably in error in your code.
-
Oct 13th, 2000, 09:05 AM
#4
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.
-
Oct 13th, 2000, 09:43 AM
#5
Member
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
-
Oct 13th, 2000, 10:11 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|