Page 1 of 1

Compiler problem with QuickBasic 7.10

Posted: Wed Dec 19, 2007 10:40 pm
by Andrew Dance
it keeps asking for the definitions file and that it cannot locate QB .exe
uhh....help please? im totally lost.

:?

Posted: Wed Dec 19, 2007 11:29 pm
by Nodtveidt
Don't use QB 7.1 unless you have a specific reason for doing so. Stick with QB 4.5, it tends to produce smaller executables anyways.

Posted: Thu Dec 20, 2007 10:07 am
by Codemss
Use qb 4.5 when you can. It is faster and, like Nodtveidt said, it produces smaller .exe's (I didn't know this though :P). But, qb 7.1 has a few more options. I needed it once because it has a command to show you all files in a map or something like that. If you have to use qb 7.1, you can download it here:
http://members.lycos.nl/rubynl/qb71.zip
(it works on my computer)

Posted: Thu Dec 20, 2007 10:12 am
by Andrew Dance
thanks guys. i DL'd it and its working perfectly :P thanks a million again ^^

Posted: Fri Dec 21, 2007 12:41 am
by OPRESION
Nodtveidt wrote:...Stick with QB 4.5, it tends to produce smaller executables anyways.
To make smaller and faster executables in the PDS could be used the option /G2, that produces code in the executables for computers 286.

Re: Compiler problem with QuickBasic 7.10

Posted: Fri Dec 21, 2007 1:04 am
by OPRESION
Andrew Dance wrote:...it cannot locate QB.exe
I think you mean that it's trying to find the BC.exe, that is, the Basic Compiler, not the QB.exe, to make the executable.

If you are compiling from the editor, you need to tell the PATH touching 'Options' and 'Set Paths...', that way the editor it won't ask you again.
Andrew Dance wrote:...it keeps asking for the definitions file...
When the PDS it's asking the definitions file it means that you are trying to make an executable for the Windows or for the OS/2 using the option /LP that it means 'Link to Protected Mode'.

When you compile just click to change that option to /LR, that it means 'Link to Real Mode', you will need to do that only once.