FAQ (misc)
Last changed: 75.54.101.29

.
Summary
Common questions and their answers
Question
What is the wiki way for adding a link from one Wiki page to another?

I think putting square brackets around it will work

Here is a test [Wiki'sScratchPad]

also, every PascalCasedWord will be turned into a link. Check the Formatting Tips in the right column in edit mode

Thanks jachymko. This wiki stuff is way cool

Question
Why use IntPtr in PInvoke signatures when it works just fine?

For pointer-sized entities such as handles, they must be defined such that they will be 32 bits on a 32-bit machine and 64 bits on a 64-bit machine. IntPtr (or UIntPtr) accomplishes this. The use of int will appear to be fine if you only run the code on a 32-bit machine, but will likely cause your application/component to crash as soon as it gets on a 64-bit machine.