08-27-2005, 04:16 AM
Okay, I am having several rather frustrating problems, all related to LIB files.
Firstly, while compiling into an EXE file from QB71's Run menu was always easy before, suddenly whenever I try to compile anything it says I'm missing the file "bcl71enp.lib" which is apparently required for compiling in protected mode. The weird thing is, I didn't move or delete that file, but it's not there, and it's not in my QB71 zip fle, but I *ALWAYS* compiled with that protected mode option selected before, and never had any problems. What gives??
Second, whenever I try to compile with an option to link to a different library, again from the Run menu, it won't even let me get to the screen where I specify what library I want to link, because it tells me there's an undefined subroutine in my code!!! How do I get around that? How can I compile a program that contains references to routines in a library, if it stops me before I even get to the stage of creating the link?
Third, if linking to a library can only be done at compile time, how can anyone ever possibly test-run programs they're writing by using Shift-F5? Do you really have to compile every time you want to test something?
And lastly, I have been trying to $include some very standard .BI header files, but those files contain all sorts of lines which are truncated with the underscore (_) character in order to continue on the next line. QB doesn't seem to recognize that at all, and expects the line to continue, so why are those BI files written that way and how can they ever possibly be used?
Thanks to anyone who can clear any of this up. I've been programming in QB for years and years, but have never until now linked or included any external files.
Firstly, while compiling into an EXE file from QB71's Run menu was always easy before, suddenly whenever I try to compile anything it says I'm missing the file "bcl71enp.lib" which is apparently required for compiling in protected mode. The weird thing is, I didn't move or delete that file, but it's not there, and it's not in my QB71 zip fle, but I *ALWAYS* compiled with that protected mode option selected before, and never had any problems. What gives??
Second, whenever I try to compile with an option to link to a different library, again from the Run menu, it won't even let me get to the screen where I specify what library I want to link, because it tells me there's an undefined subroutine in my code!!! How do I get around that? How can I compile a program that contains references to routines in a library, if it stops me before I even get to the stage of creating the link?
Third, if linking to a library can only be done at compile time, how can anyone ever possibly test-run programs they're writing by using Shift-F5? Do you really have to compile every time you want to test something?
And lastly, I have been trying to $include some very standard .BI header files, but those files contain all sorts of lines which are truncated with the underscore (_) character in order to continue on the next line. QB doesn't seem to recognize that at all, and expects the line to continue, so why are those BI files written that way and how can they ever possibly be used?
Thanks to anyone who can clear any of this up. I've been programming in QB for years and years, but have never until now linked or included any external files.