#include #if !defined(OS_WINDOWS) int main(void) { return 0; } #else #include #pragma comment(lib, "User32.lib") int main(void) { wchar *caption, *text; un_init(UN_MB(4)); Allocator talloc = un_alloc_temp_get(); caption = un_wstring_from_cstring((u8 *)"Внимание", talloc); text = un_wstring_from_cstring((u8 *)"Тестовое сообщение", talloc); assert(caption != NULL); assert(text != NULL); // MessageBoxW(NULL, text, caption, MB_OK); } #endif