http://bugs.winehq.org/show_bug.cgi?id=13621
--- Comment #2 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-06-02 23:18:08 --- Created an attachment (id=13603) --> (http://bugs.winehq.org/attachment.cgi?id=13603) +wininet,+urlmon,+ole log attached
Since you wrote the application, you could have provided more information in the bug report.
It appears that the reason the program exits prematurely is that at 0x004010E0, OleLoadPicture Path is called, which fails and the application posts WM_QUIT