006
27.05.2004, 19:59 Uhr
FloSoft
Medialer Over-Flow (Administrator)
|
z.b
C++: |
int MsgBox(const char *msg, char* header = "", unsigned int type = MB_OK , ...) { char msg2[2048]; va_list argptr;
va_start(argptr, msg); vsprintf(msg2, msg, argptr); va_end(argptr); return MessageBox(msg2,header,type); }
|
das kannst du dann mit
C++: |
MsgBox("Addressline Test for board-nr.: %d successfully done\n #errors:0", "Dein Programmname", MB_OK|MB_ICONERROR, jj);
|
aufrufen -- class God : public ChuckNorris { }; |