🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #81

Re: Link problems with QuickBASIC 4.5

#81
From: Unrecoverable Application Error
Date: Fri, 24 Jul 1992 15:23
32 lines
2327 bytes
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.

     2-   you may have just a little bit of sloppy programming.  This happened 
to me once and the way I got around it was to re-think my approach to the 
problem at hand and essentially re-write the module using better coding 
practices.  Even the best of us get sloppy so I'm not at all surprised to have 
problems.  I usually format most of my code as it hits the keyboard and debug 
as I go.  Risky as hell but it works for me!

Keith.
-- 
D.K.Higgs  DATA+@osu.edu a.k.a dhiggs@magnus.acs.ohio-state.edu  _____   __o
Ohio State University Libraries, Acquisitions Department       -----    -\<,
Continuation Acquisition Division                              ----- ( )/ ( )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\_________/~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <1992Jul24.152317.28957@magnus.acs.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!dhiggs
References: <1992Jul23.194513.14047@Princeton.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!dhiggs
From: dhiggs@magnus.acs.ohio-state.edu (Unrecoverable Application Error)
Subject: Re: Link problems with QuickBASIC 4.5
Message-ID: <1992Jul24.152317.28957@magnus.acs.ohio-state.edu>
Sender: news@magnus.acs.ohio-state.edu
Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
Organization: Another school running out of money!  Thanks George!
References: <1992Jul23.194513.14047@Princeton.EDU>
Date: Fri, 24 Jul 1992 15:23:17 GMT
Lines: 32