* "Brian Henry" <br**********@newsgroups.nospam> scripsit:
how would you compare an IntPtr to check if it is zero?
\\\
Dim p1 As IntPtr = New IntPtr(23234)
Dim p2 As IntPtr = New IntPtr(23234)
Dim p3 As IntPtr = New IntPtr(99)
MsgBox(p1.Equals(p2).ToString())
MsgBox(p1.Equals(p3).ToString())
///
-->
\\\
If p1.Equals(IntPtr.Zero) Then
...
End If
///
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>