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