Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Expert F#

What's a better book to read when learning F#?

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.

Blog Roll

Eric Lippert
Dustin Campbell
Jon Skeet
Coding Horror
Brian McNamara
Brian Bondy
Hub FS
Full List

Browse by Tags

All Tags » PInvoke » C#   (RSS)
Sorry, but there are no more tags available to filter with.
Properly Incrementing an IntPtr
Just as native pointer types are moved around with pointer arithmetic in native code, it can also be useful to move IntPtr types around in managed code.  Say for instance there is an IntPtr available which points to a native array of Dog instances.  Read More...

Posted Tuesday, November 11, 2008 8:00 AM by Jared Parsons | 7 Comments

Filed under: ,

Dereference a double IntPtr
A common PInvoke question is how to deal with a double pointer.  More specifically, how can one dereference an IntPtr to another pointer without using unsafe code?  Dereferencing a double pointer is done the same way a dereference to any other Read More...

Posted Wednesday, November 05, 2008 8:00 AM by Jared Parsons | 3 Comments

Filed under: ,

PInvoke and bool (or should I say BOOL)?
Boolean value types are a constant source of problems for people attempting to generate PInvoke signatures. It's yet another case of managed and native types differing on size. There are two common boolean types in native code: bool and BOOL. As with Read More...

Posted Tuesday, October 14, 2008 8:00 AM by Jared Parsons | 0 Comments

Filed under: ,

Page view tracker