Skip to main content
added 7 characters in body
Source Link
ahawker
  • 3.4k
  • 26
  • 23

For pointers, what you want to use is IntPtr.

[DllImport("whatever.dll")] static extern void init(IntPtr initData, IntPtr key); 

For pointers, what you want to use is IntPtr.

[DllImport("whatever.dll")] extern void init(IntPtr initData, IntPtr key); 

For pointers, what you want to use is IntPtr.

[DllImport("whatever.dll")] static extern void init(IntPtr initData, IntPtr key); 
Source Link
ahawker
  • 3.4k
  • 26
  • 23

For pointers, what you want to use is IntPtr.

[DllImport("whatever.dll")] extern void init(IntPtr initData, IntPtr key);