About In-Process and Out-Process
Posted on 2001-07-06
Dear exprets ,
Iam working with ActiveX components in visual basic .
The same i raised in VB section also but not yet got any suggessions.
So i posted the same here.
My problem is ,
Iam calling a In-process (Dll) from a client application.
There is big(coded) method in In -process which is executed by client application having reference of this in-process.
Clearly ,The Client is not going to gain the control unless the entire method get executed.
What i decided to do for this, insted calling this big method , if a client call's another method from that in-process component , which host a out-process component and free the client control as soon as out-process is created .
If that out-process component raise an event of this In-process component after some time Interval. We can execute the big processing method without distrubing the client calling this In-Process component.
Experts Please tell me whether is this is possible.
I tried this and got an error as invalid memory reference after it raise the event from In-Process component
Why this error i got.
Hope experts consider this .