Hi Guys,
I was trying to understand some code in C# that's when I came across 'something' by the name of GCHandle and it shows it is from System.Runtime.InteropServices. Any idea of what these can be and any thing equivalent in VC++? I am interested in the Alloc member of GCHandle.
To give some background info of what I am trying to do: I was experimenting with some sound libraries, the waveInxxx and the waveOutxxx to be precise, and I found out that there is some delay (about 1 sec) between the record and the playback. Tried many (documented) improvements with little success. Finally I stumbled upon a code in C# that does the same with minimum delay, and to my understanding (I might be wrong), the above shown constructs are the only kind of difference, where the allocation and usage of buffer is different. So I was thinking if I can have some information of what those are, I can have a better understanding of what should be done.
Any comments are appreciated.
