Results 1 to 5 of 5

Thread: dll question - [RESOLVED]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2002
    Location
    UK
    Posts
    147

    Question 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

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253
    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.

  4. #4
    Lively Member
    Join Date
    Nov 2000
    Location
    Liverpool, England
    Posts
    88

    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2002
    Location
    UK
    Posts
    147
    I have converted my dll to an exe but the operation is still the same.
    Mik706

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