DCOM and CallBacks 
Author Message
 DCOM and CallBacks

Can you pass a call back through DCOM to one machine, which does some
processing, then passes the result back to the calling machine to the
call back function.  

Simply put can you pass a call back across a DCOM connection?

If so, where can I find information on hoe to do this.

PLease email me with any answers.

Thank you



Mon, 22 Jul 2002 03:00:00 GMT  
 DCOM and CallBacks

You can exchange/pass callback references between DCOM objects. When writing for DCOM just remember to use ByVal so as to avoid the data (longs, strings, etc) having to go round trip. Other than that it's "basically" the same as writing for non-DCOM.

One thing, however. It sounds like you want to be able to process the task asynchronously (which is a good thing). To acomplish this you will need to set some kind of timer callback, then release control back to the caller, and then process the task when your timer calls you back.

--------------------------------------------------------------------------------

Monte Hansen
VB Yuk Yuk
http://KillerVB.com


  Can you pass a call back through DCOM to one machine, which does some
  processing, then passes the result back to the calling machine to the
  call back function.  

  Simply put can you pass a call back across a DCOM connection?

  If so, where can I find information on hoe to do this.

  PLease email me with any answers.

  Thank you



Mon, 22 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Custom callback interfaces in DCOM

2. DCOM and Asynchronous Callbacks - AAARRGGHH - HELP!

3. DCOM, DCOM , DCOM!!!

4. OLE Callback vs Implemented Interface Callback

5. OLE Callback vs Implemented Interface Callback

6. creating a callback function in c++ dll to callback a VB function in an exe

7. DCOM: Cannot cannot connect multiple users to a DCOM server

8. DCOM: Cannot cannot connect multiple users to a DCOM server

9. DCOM: Cannot cannot connect multiple users to a DCOM server

10. DCOM Callback i.e., client --> server WAIT sever-->client w/VB on MTS

11. DCOM Callback i.e., client --> server WAIT sever-->client w/VB on MTS

12. DCOM Callback i.e., client --> server WAIT sever-->client w/VB on MTS

 

 
Powered by phpBB® Forum Software