|
-
January 25th, 2000, 03:44 AM
#1
Outgoing Interface
Hi,
I have implemented an Outgoing Interface for a COM component in VB. I pass the callback function (implemented in VB) to the component thro' an Advise method.
Through another interface(implemented in C++), to the same component, I call a method Compute(). In this method I start a thread to do a long computation. Once the computation is over, I should call the Callback function in VB. How should I do this?
I tried using the CoMarshalInterThreadInterfaceInStream() method to stream the Callback function. But that returns a failure code!
Can somebody help me?
Thanx,
Jagadish.
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
|