I have the following C code:
const BYTE* Items[3]; Items[0] = item1; Items[1] = item2; Items[2] = item3; int result = Generalize(3, Items);
with Generalize having a signature of
int __stdcall Generalize(INT count, const BYTE * const * items);
What is the best way to make that call with PInvoke?
I can’t guarantee this is the best way, but it’s the first way I’d try.