I need to convert an UIntPtr
object to that of IntPtr
in my C# .NET 2.0 application. How can this be accomplished? I don't suppose it's as simple as this:
UIntPtr _myUIntPtr = /* Some initializer value. */
object _myObject = (object)_myUIntPtr;
IntPtr _myIntPtr = (IntPtr)_myObject;
Thanks.