Qbasicnews.com

Full Version: Start FB, Start asking!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just started FB thanks to... uhh... the guy that made the quad demo... nut ANYWAY! I have this code.
Code:
screen 19
print "Well... lets all hope and pray that FB will work for me!"
do
loop until inkey$ <> ""
end
I compile it like this:
Code:
fbc temp.bas -s gui
It makes temp.exe just fine, but in DOS! WHAT GIVES?!

EDIT: OK... I think it is in windows (I calculated 3,440,000 fps in a pset proggy) but full screen. Any suggustions for a window? I love FB.... I was rolling on the floor when I saw my FPS!

EDIT2: Ok... I found the problem! For some reason it wont window 640*480 or higher... any ideas? Also... how do I get rid of the exit code = 0 at the end of my proggys?!
If you're using FB for Windows, the generated EXEs will be Win32 EXEs, not DOS ones.

About the window issue, it may be a driver problem... what version of Windows, gfx card and DirectX installed are you using? Try updating to latest DX if you don't have it.
lillo the exit code zero is from fbide it's just a call back the ide use's if there ever a error in compiling code 0 means everything compiled fine.


it won't pop up if you run the exe your self outside of fbide