>HI Øyvind, >>>When I launch my app, a window quickly appears and goes away again. >>Are you launching this from MSYS? I don't know what MSYS is(other than it belongs to the MinGW stuff), so I don't know if I'm answering your question here: I launch the app I built from Windows CMD.EXE command line. >Have you linked with -mwindows? Yes. Øyvind