9 static LPTSTR
StrConvert(const char *src
)
11 int len
= strlen(src
) + 1;
12 LPTSTR res
= malloc(len
* 2);
16 if (!MultiByteToWideChar(CP_ACP
, 0, src
, -1, res
, len
))
25 void kprintf(const char *fmt
, ...)
30 vfprintf(stderr
, fmt
, args
);
34 void DisplayError(char *fmt
, ...)
40 vsnprintf(buf
, sizeof(buf
), fmt
, args
);
43 str
= StrConvert(buf
);
44 MessageBox(NULL
, str
, TEXT("AROS bootstrap error"), MB_OK
|MB_ICONSTOP
);