Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: Library
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 21 Topic 3882 of 3959
Post > Topic >>

Re: Library

by "Stephen Quinn" <stevejqNO@[EMAIL PROTECTED] > Apr 13, 2008 at 04:57 PM

Donald

> Yes - .... but then during compile how is the lib file 'included' into
the compiled program?

You compile the source (.prg) to .obj

You can either put each .obj individually into your link script using
    FILE 1.obj
    FILE 2.obj
    etc...
or
Use LIB.EXE to create a .LIB file then in your link script place a
statement like

    LIB LIB_GEN.LIB
or
    LIB C:\PATH_TO_LIBS\LIB_GEN.LIB

As it's a PRG then it's probably just source (functions/procedures) and
NOT a LIB (ie a library of 
functions/procedures)as such.

Compiling will give you a lib_gen.obj that you'd include in you link
script.

If you cannot get it to work post the code of the prg here (if it's not to
large) for us to peruse and advise.

-- 
CYA
Steve
 




 21 Posts in Topic:
Library
"Donald Leask"   2008-04-13 09:58:20 
Re: Library
"Stephen Quinn"  2008-04-13 08:24:31 
Re: Library
"Donald Leask"   2008-04-13 10:37:02 
Re: Library
pete@[EMAIL PROTECTED]   2008-04-13 09:35:46 
Re: Library
"Donald Leask"   2008-04-13 18:02:45 
Re: Library
"Stephen Quinn"  2008-04-13 16:57:58 
Re: Library
"Donald Leask"   2008-04-16 19:51:42 
Re: Library
"Stephen Quinn"  2008-04-17 01:32:37 
Re: Library
"Stephen Quinn"  2008-04-17 01:46:23 
Re: Library
"Donald Leask"   2008-04-17 15:25:02 
Re: Library
klas.engwall@[EMAIL PROTE  2008-04-17 15:34:10 
Re: Library
"Donald Leask"   2008-04-17 18:00:18 
Re: Library
klas.engwall@[EMAIL PROTE  2008-04-17 17:00:45 
Re: Library
"Donald Leask"   2008-04-18 13:22:27 
Re: Library
klas.engwall@[EMAIL PROTE  2008-04-18 23:04:21 
Re: Library
"Donald Leask"   2008-04-19 08:49:34 
Re: Library
"Stephen Quinn"  2008-04-18 03:44:12 
Re: Library
pete@[EMAIL PROTECTED]   2008-04-17 04:50:02 
Re: Library
"Donald Leask"   2008-04-18 12:52:26 
Re: Library
"Donald Leask"   2008-04-18 13:09:10 
Re: Library
pete@[EMAIL PROTECTED]   2008-04-19 11:39:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 16:23:41 CDT 2008.