HandleRef examples in VB .Net

Anybody? In my last post I posted native function declarations, and what I did to wrap them. I used a bunch of IntPtrs. I'm thinking, after some reading and followups on newsgroups, that I should be using HandeRefs, at least some of the time.

Do you have any examples? (ie. Iterators, Strings, Ints, etc.)

When should you use HandleRefs, as opposed to IntPtrs?

Comments

Anonymous said…
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.handleref.aspx

Hope it helps,
JC

Popular posts from this blog

Updates

Posting from home