mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
Checked in for John Sohn <[email protected] * build.sh * changelog * monostart.c * monostub.c * monostub.exe.dbg.c * monostub.exe.spec.c * Test.cs * test.sh * Experiment to get first form working using WINELIB svn path=/trunk/mcs/; revision=6524
15 lines
374 B
C#
15 lines
374 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class Test
|
|
{
|
|
[DllImport ("user32.dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Auto)]
|
|
public static extern int MessageBoxA (int hWnd, string pText, string pCaption, int uType);
|
|
|
|
static public void Main()
|
|
{
|
|
MessageBoxA(0, "Calling winelib from Mono", "TEST", 0);
|
|
}
|
|
}
|
|
|