2007-10-24 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / tests / test-50.cs
1 using System;
2 using System.Runtime.InteropServices;
3
4 public class Blah {
5
6         [DllImport ("user32", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Auto)]
7         public static extern int MessageBox (int hWnd, string pText, string pCaption, int uType);
8
9         public static int Main ()
10         {
11                 MessageBox (0, "Hello from Mono !", "PInvoke Test", 0);
12
13                 return 0;
14         }
15 }