megabax
|
29.03.2012 . |
Delphi
,
C#. 1. Win32
Win32 MessageBox.
Win32
user32.dll.
System.Runtime.InteropServices, :
using
System.Runtime.InteropServices; |
,
:
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace ConsoleApplication1
{
class
Program
{
[DllImport("user32.dll",
EntryPoint="MessageBox", SetLastError=true,
CharSet=CharSet.Auto)]
public
static extern
int MessageBox(int
hWnd, String msg,
String caption,
uint type);
static
void Main(string[]
args)
{
MessageBox(0,"
Win32",".NET",0);
}
}
} |
:

|
( 04.11.2014 . )
|