This looks very similar to what I have.
.NET code:
DataFlex code:Code:public bool SaveInvoiceDocument(byte[] document, int invoiceNum)
When I debug on the DataFlex side, the UChar array has data. But when I debug on the .NET side, the Byte array is empty.Code:Function ComSaveInvoiceDocument UChar[] lldocument Integer llinvoiceNum Returns Boolean
Very frustrating.