Mega Code Archive

 
Categories / Delphi / ADO Database
 

Sending a file via dcom

Question: I would like to send a file through DCOM however I can only send standard types. How can I send bytes across to a client? Answer: You need to use a variant array (VarArrayLock should be useful as well).