Microsoft com vtable compatibility workaround for g++. Basically adds
[wine] / libtest / hello2.c
1 #include "windows.h"
2
3 int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
4 {
5   return MessageBox((HWND)0,
6                     (LPSTR)"Hello, hello!",
7                     (LPSTR)"Hello Wine Application",
8                     (MB_OK | MB_ICONEXCLAMATION));
9 }