VOGONS


Start DOXBOX minimized?

Topic actions

First post, by kpg

User metadata
Rank Newbie
Rank
Newbie

As a newbie to DOSBOX I must say...wow - this is some very impressive software.

Full disclosure: I am not a gamer, but thanks to you guys you have solved one very large problem for me - running legacy 16 bit code on Vista 64.

Here's my deal: As mentioned I have a legacy 16 bit app with no user interface (it does some processing on a file and returns). I call from my 32 bit windows app, let it do it's thing, then pick up the file when it's done.

OK - on Vista 64 this was a no go. But I CAN call DOSBOX and have it run my legacy app just fine - very cool.

Problem: DOXBOX launches as a window, with an option to go full screen - but I want it to open either minimized or hidden.

Granted - this feature would most likely have little or no use to gamers - but for my use it would simulate the hidden cmd window I use now on 32 bit systems.

FYI - I DO have intentions on using DOSBOX even if it can't be minimized, I don't mind my users knowing I use BOSBOX, I don't even mind putting the GNU license in my program with full disclosure, heck for that matter - I don't mind paying a license fee (or making a donation) - It's worth my time to be able to run on a 64 bit O/S and not have to rewrite 15 years of 16 bit legacy assembly code.

I know the source code is available and I have not even attempted to look at that - I was thinking more of a hidden switch/command or trick to minimize the window - otherwise I'll just live with it as it is.

Thanks for the read and your comments.

kpg

Reply 1 of 2, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

I guess you could use TrayIt but you probably want this functionality in DOSBox itself instead of having to use another application. (Although not all programs support this so using a program like TrayIt is pretty handy).

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 2, by frobme

User metadata
Rank Member
Rank
Member

Kind of an esoteric request for regular Dosbox users as you note (can't think of the game you would want to play but don't want to see!) but it should be really easy to satisfy in code. Just change the SDL flags for the Dosbox window to be invisible, or call SDL_WM_HideWindow() after everything is all set up.

-Frob