Error!
Success!

By tag: IntPtr

showing:  of
0
kicks

Back to Basics 32-bit and 64-bit confusion around x86 and x64 and .NET  (Unpublished)

I promote 64-bit a lot because I personally think my 64-bit machine is snappier and more stable. I also have buttloads of RAM which is nice. The first question developer ask me when I'm pushing 64-bit is "Can I still run Visual Studio the same? Can I make apps that run everywhere?" Yes,...


Kicked By:
Drop Kicked By:
0
kicks

Marshal opaque structs as IntPtr instead of Byte[]  (Unpublished)

If you have an opaque native structure that you want to pass through managed code, consider using IntPtr, not Byte[], in your marshalling signatures. Opaque means that you don't care about the contents of the buffer. For example, if in C#, you pinvoke to get an opaque native structure that you then...


Kicked By:
Drop Kicked By: