Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start FB, Start asking!
#1
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?!
f a fly walked, would it be called a walk?
Why dosn't someone make a word that rymes with purple or orange?
WHY AM I SO ANNOYING? Becuase I wanna!
Why am I typeing this? Cuz im bored!
Reply
#2
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.
ngelo Mottola - EC++
Reply
#3
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)