pointer to array

  • Thread starter Thread starter adrin
  • Start date Start date
how do i get an address of array(required in an unmanaged struct)?

It depends on what the array contains. You can possibly use the C#
fixed statement. Or you can allocate a block of unmanaged memory and
copy the array data there using the Marshal class.



Mattias
 
It depends on what the array contains. You can possibly use the C#
fixed statement. Or you can allocate a block of unmanaged memory and
copy the array data there using the Marshal class.
ok problem solved, thx for help!
 
Back
Top