Examples Delphi

To send a file through DCOM (not the file's name, but the actual content),
you may read it in a variant array; this datatype is OLEVariant compatible.
You should call VarArrayLock()/ VarArrayUnlock() to improve speed.