How to read C# IntPtr struct in Win32 API
Hi Guys, I do not know if this is the right place to ask this but here goes,
In C# when i declare to use the freelibrary method i would do this:
[DllImport("kernel32.dll")]
public static extern bool FreeLibrary(IntPtr module);
in vb6 this:
Public Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long
Now my question is whether the IntPtr struct is the same as the Long data type?
|