[fpc-pascal] Re: Array of byte from a COM object
md at delfire.net
Fri Jun 10 15:01:34 CEST 2011
On Thu, Jun 9, 2011 at 2:20 PM, Ludo Brands <ludo.brands at free.fr> wrote:
> If the Assert(VarType(V) = varByte or varArray); is not raising an error
> then you are not getting a Safearray. VarArrayLock is for safearrays. If you
> are getting an array of byte, you should be able to access the bytes as
Yes, an array of bytes. I can use V[i].
> Do you have the interface definition for the method returning the "array of
No. This method belongs a COM object. I don't have the definition,
just know that is a array of byte.
More information about the fpc-pascal