This is really the expected behavior in Windows CE (I'm not saying this is correct, just expected).
SIP , . "wierdness", " " - MessageBox , , .
, CF, MessageBox :
private void button1_Click(object sender, EventArgs e)
{
MessageBoxCE(this.Handle, "message", "caption", 0);
}
[DllImport("coredll", EntryPoint="MessageBox")]
private static extern int MessageBoxCE(IntPtr hWnd, string lpText,
string lpCaption, int Type);
.
, , , MessageBox. CE 5.0 ARM, , MessageBox CF, P/Invoke.
(.. , )? , . , CE, , , OEM , , .