8
Answers

IntPtr in c#

hans

hans

18y
5.8k
1
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)