
call com component and not wait for execution
Make the 'COM Component' into an AX EXE
Pass the data you want to send it through an 'Exposed Class'
- you can then set a Flag that is picked up by the AX EXEs own thread
- either from a Timer that you enable
- or from the Thread that runs if you set its startup object to :-
Sub Main
You can then notify the caller of completion by either using a
Callback or raising an Event.
Quote:
>HI,
>I've written a com component in vb6 and i want to call this component from a
>vb6 application.
>I have to pass some parameters to the function in the com component (some
>strings and an array)
>BUT: I don't want to wait until the component has finished everything he has
>to do, and i don't need to recieve a message or whatever that the component
>has finished doing his stuff.
>So in fact in the vb6 app i want to activate the com component and i want to
>recieve the focus back in my vb6 app immediately, and let the com component
>do his thing in the background.
>Is this possible and how???
>A big thanks in advance
>Greetz
>Johan