|
-
October 30th, 2006, 02:27 AM
#1
A little bit from C#
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.
Even if our suggestions didn't help, please post the answer once you find it. We took the effort to help you, please return it to others.
* While posting code sections please use CODE tags
* Please check the codeguru FAQ and do a little search to see if your question have been answered before.
* Like a post, Rate The Post
* I blog: Network programming, Bible
I do all things thru CHRIST who strengthens me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|