[ DllImport( "User32.dll", EntryPoint="MessageBox", CharSet=CharSet.Auto )]
public static extern int MessageBox( IntPtr hWnd, String text, String caption, uint type );
<DllImport("user32.dll", CharSet:=CharSet.Auto)> _
Public Shared Function MessageBox(ByVal hwnd As Integer, ByVal [text] As String, ByVal caption As String, ByVal type As System.UInt32) As Integer
End Function
None.
Fixed hwnd to be an IntPtr rather than an int
Please add some!
MsgBox(100,1000);
System.Windows.Forms.MessageBox.Show