How to Send a file via DCOM ?



How to Send a file via DCOM ?..

Answer / Pankaj Kumar Dagar

To send a file via DCOM (Distributed COM) in Delphi, you can use the IStream interface provided by OLE Automation. Here's an example of how to send a file using DCOM: 1. Create an IStream object using OleCreateStream. 2. Write the file content to the stream. 3. Use the Marshal function to marshal the IStream object. 4. Pass the marshaled data to the recipient through DCOM.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Retrieving the program that is associated with a given extension?

0 Answers  


How to Stop TScrollbar button from blinking ?

1 Answers  


How to Creat a flashing icon ?

1 Answers  


Hi is there is any tool to debug Delphi ISAPI dlls in borland 2006 framework. AS i am a new to delphi borland i need a detailed description for debugging the web application in delphi as per my analysis the ISAPI dlls calling the htm files please help me ....

1 Answers  


How to Draw in scale without using Windows Mapping Modes?

1 Answers  


How to Make the drop-down list appear faster?

1 Answers  


How to create indexes with the TTable create function?

1 Answers  


How to do Sorting on Calculated fields ?

1 Answers  


Why Non-blob column in table required to perform operation with Oracle ?

1 Answers  


How to Save and load metafiles in a BLOB field without using DBImage ?

1 Answers  


How to Test whether you are connected to the internet ?

1 Answers  


How to Create temporary canvas?

1 Answers   Mastek,


Categories