Files I'm using.by (no login)
So,the setup we have is multiple modules that all shell to each other based on user input. All the modules had the same subs defined in the bottom so I was assigned the task of consolidating the code into a library.
Currently I'm doing testing with just 1 module and the library setup.
So I have a single .bas file with a ' $INCLUDE: to a .bi file with QB being launched from dos with the qb /l mylib.qlb command.
When I launch QB and load my .bas file everything works fine when I do Run-->start but when I do Run--> make exe it gives me unresolved external errors.
All I'm using are those three files. The .bas, the .bi and the .qlb.
The .bas is of course my main program flow containing the subroutine calls with the .bi containing simply the "DECLARE" statements and the .qlb containing the:
Sub mysub1(var3, var4)
sub mysub2(var1, var2)
type architecture. When I run in while qb45 is loaded it runs fine and when I make an exe and run it it starts of fine but skips certain subroutine calls. I'm guessing this is caused by the unresolved externals as I've read that it will still compile but simply skip any chunks of code it can't access.
QB45 as well as all libraries and .exes (lib.exe, link.exe) as well as all my .bas files, lib files and .qlb and .bi files are all in the same folder. If we can't figure it out soon I may just post the code. It's hard for me to truly explain it as I didn't write the code I just got stuck editing it so it may just be a problem with the original design of the program but it still works with the run-->start command but not with the .exe and I guess that's the part that has me the most confused.
Thanks again for all the feedback/help/advice! It is very much appreciated!
|Response Title||Author and Date|
|.qlb I'll bet is the problem...||Pete on Sep 30|
|I'll add one more thing...||Pete on Sep 30|
|more on the QB45||on Sep 30|
|Last thought||on Sep 30|
|I would recommed taking a screen shot of the link info and posting it...||Pete on Sep 30|
|Thanks!||on Sep 30|
|qbasic at work..||Nthrill on Sep 30|
|Hey, you're in the "R" Group now, Nthrill. Glad you hung around...||Pete on Sep 30|
|cool!||Nthrill on Sep 30|
|Actually, it's more like....||on Oct 1|
|This might help...||Pete on Oct 1|
|Just had a thought...||on Oct 1|
|How many KBs is the .BAS file that you made into the .lib file?||Pete on Oct 1|
|Well, that wasn't it||on Oct 2|
|Well...........||on Oct 2|