Ahoj,
Komponenta je COM je definována jako :
...
[DispId(1610809425)]
bool ReadDirectResults(ref int ReadCode, ref Array BufferImg, ref Array VarResults);...
...
moje implementace
Array data = new byte[200];
Array dataa = new byte[200];
int banka = 2;
int x = dev.DeviceCFG.Size_X;
int y = dev.DeviceCFG.Size_Y;
dev.ReadDirectResults(ref banka,ref data,ref dataa);
An unhandled except, ion of type 'System.Runtime.InteropServices.SafeArrayTypeMismatchException' occurred in
Additional information: Specified array was not of the expected type.
Četl jsem něco o Marshalingu, o SAFERARRY ale nevim jak to definovat v c#.
Pavel