On Thu, Jun 9, 2011 at 2:20 PM, Ludo Brands <ludo.bra...@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
> V[i].

Yes, an array of bytes. I can use V[i].

> Do you have the interface definition for the method returning the "array of
> byte"?

No. This method belongs a COM object. I don't have the definition,
just know that is a array of byte.

Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to