|
-
Dec 11th, 2003, 09:00 AM
#1
Thread Starter
Addicted Member
dll question - [RESOLVED]
I have created an activeX dll which my app calls periodically, all well and good. The problem is that the app sits and waits for the dll to complete it execution before continuing.
What can I do to stop the app from waiting for the dll and just carry on?
Last edited by mik706; Jan 15th, 2004 at 03:49 AM.
Mik706
-
Dec 11th, 2003, 09:06 AM
#2
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Dec 11th, 2003, 01:12 PM
#3
Frenzied Member
Hmmm; although that link shows excellent technical proficiency, I wouldn't recommend using it for production code.
It is better in VB to have some form of messaging system like MSMQ, or bespoke, that allows asynchronous calls.
Incidentally, if you code your interfaces in IDL, you can expose your IUnknown stuff to return immediately after submitting the function stack to the proxy - which essentially allows asynchonous COM calls - you need to know a bit of C to do this, though.
-
Dec 11th, 2003, 01:45 PM
#4
Lively Member
Use ActiveX EXE
Do you need to have a ActiveX DLL, this is a in-process component!
Why not convert your DLL to a ActiveX EXE, out-of process component. This will release control back to the calling exe.
-
Dec 12th, 2003, 03:05 AM
#5
Thread Starter
Addicted Member
I have converted my dll to an exe but the operation is still the same.
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
|