Just a hunch, but if you have the source for this program you could try compiling it with mingw using the -mwindows switch to remove any DOS command windows. Of course if you could do that you might as well compile it as a native app and save the overhead of running it on wine.