hans

hans

  • NA
  • 6
  • 0

IntPtr in c#

Mar 26 2006 9:31 AM
Hi, im new in c# and id like to work with winmm.dll from windows. so i imported it this way: [DllImport("winmm.dll")] extern static int mciSendString(string command, IntPtr responseBuffer, int bufferLength, int nothing); which works fine for me. But now i want to read a string out of my responseBuffer and i dont know how to de-referncate. In good old "c" iwould have used the " * " operator, so plz tell me what to use/do in c#. thx yas stefan

Answers (8)