pass by reference - C# call for 'int foo(QByteArray &memDump)' does not copy into dump into variable -
i'm accessing activexserver in c# programm. 1 function defined int foo(qbytearray &memdump)
, puts own data onto memdump
. if size of byte array wrong or write memdump
not work, return values != 0. think must correct.
i create byte array with:
byte[] dump = new byte[size]; int rtn = foo(dump);
am doing wrong here? address operator in variable list of foo
, function supposed work directly on memdump
, not copy of - not manipulate data.
Comments
Post a Comment