Article View: alt.lang.basic
Article #90Re: Link problems with QuickBASIC 4.5
From: Phillip Cooper
Date: Mon, 27 Jul 1992 17:53
Date: Mon, 27 Jul 1992 17:53
29 lines
1850 bytes
1850 bytes
In article <1992Jul24.152317.28957@magnus.acs.ohio-state.edu> dhiggs@magnus.acs.ohio-state.edu (Unrecoverable Application Error) writes: >In article <1992Jul23.194513.14047@Princeton.EDU> bstango@phoenix.Princeton.EDU > (Bob T. Stango) writes: >+ >+OK PROGRAMMERS. Here is my situation. Using QuickBASIC 4.5. I have one >+main program and three sub programs. I want to link the three sub >+programs to the main program and then compile them into one large .exe >+file. Using lib to make a library with the three object files seems to >+work ok. After linking the .lib file with the main program and creating >+an .exe file, it then chokes trying to do one of the sub functions. I >+think all variables are defined properly. Am I going about this wrong? >+Any help apreciated. >+ >+Bob Stango >+========================---------------------=========================== >Two possibilities occur to me quickly... > 1- load you main module with the other two configured for inclusion >via the $INCLUDE metacommand. See your manual or on-line help for the details >on that. From there you should be able to compile all together. > You should never, ever, ever use the include statement to bring in executable code. This should be reserved for typedefs, declares, static variable declarations, defint's etc. Bringing in executable code can lead to nightmarish debugging problems. Phil Cooper > 2- <deleted>
Technical Details
Message-ID:
<1992Jul27.175334.7800@microsoft.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!philcoReferences:
<1992Jul23.194513.14047@Princeton.EDU> <1992Jul24.152317.28957@magnus.acs.ohio-state.edu>Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!philco From: philco@microsoft.com (Phillip Cooper) Subject: Re: Link problems with QuickBASIC 4.5 Message-ID: <1992Jul27.175334.7800@microsoft.com> Date: 27 Jul 92 17:53:34 GMT Organization: Microsoft Corporation References: <1992Jul23.194513.14047@Princeton.EDU> <1992Jul24.152317.28957@magnus.acs.ohio-state.edu> Lines: 29