Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /+ Внимание:
- + Исходник сохранить в UTF-8.
- + Компилировать командной строкой:
- + dmd имя_файла -L-Subsystem:Windows
- +/
- import std.c.windows.windows;
- import std.string;
- extern(Windows)
- int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow)
- {
- MessageBoxW(null, "Hello, World!", "WinAPI Хеллоу Ворлд", MB_OK);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement