R
Rick
Hy guys!!
I have an structures array, i need to send it memory address to a dll
function, is it possible in c# ?
my dll function gets a pointer to structures array
im using
[DllImport("hilodll.dll")] public static extern void main(INSTANCIA
*myInstance, int numInstanacia); <<< at this line compiler sends error,
why?
INSTANCIA [ ] id = new INSTANCIA[10];
main(id , 10);
but parameter myInstance never gets array address, compiler says it couldn't
get array address
I have an structures array, i need to send it memory address to a dll
function, is it possible in c# ?
my dll function gets a pointer to structures array
im using
[DllImport("hilodll.dll")] public static extern void main(INSTANCIA
*myInstance, int numInstanacia); <<< at this line compiler sends error,
why?
INSTANCIA [ ] id = new INSTANCIA[10];
main(id , 10);
but parameter myInstance never gets array address, compiler says it couldn't
get array address