Qbasicnews.com

Full Version: DOS box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When I do a GUI compile, I still get a DOS box in the background. Any help?
did you compile with:
fbc -s gui yourfile.bas
?
Yup! Same thing quest for opa opa!
I was under the impression you could do nothing about it, tho very annoying it floating back their... Dev C++ doesn't do it at all, why the diff??
There's no console if you use the -s gui unless you made some mistake.
Heres my command line:

fbc test.bas -s gui

And I get it in GUI but with a dos box in the background
-s gui kills the dos box there must be somthing wrong with your copy of the compiler or mybe there somthing wrong with your source code i.e. it's not compiling correctly and your running a exe from a previose compile.
you have your file.bas before the -s gui. will that effect it?
It has nothing to do with the compiler or with the cmm-line options order, -s gui just tells the linker to set a single property/flag on the EXE's header, so Windows will not show the default console window. If that is not being done, then you got a screwed up Windows version there -- 9x?

Or then, if you are using an IDE and not calling the compiler directly, the IDE is probably not passing the command-line option for some reason.
I use win98 and "-s gui" kiils the dosbox well
Pages: 1 2