pointer to array

  • Thread starter Thread starter adrin
  • Start date Start date
A

adrin

hello,
how do i get an address of array(required in an unmanaged struct)?
 
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top