php - Passing or returning streams to/from a COM object -
perhaps i'm trying either impossible or simple there nothing (that find) written anywhere. @ general level, i'm trying determine how (if it's possible) pass stream or return stream com object. specifically, com object written in delphi , typically used php script. use-case returning large block of binary data stream com object web client via php; or writing large block of binary data received web client directly com object (instantiated php script). currently, i'm doing these functions having com object , php exchange these blocks of data through temp files--the overhead of creating these temp files i'm trying avoid.
the typical way work streams , com via istream interface. i'm not sure php, don't it, if can work com using istream way go. there's article , sample code istream in delphi here.
Comments
Post a Comment