On (07 Feb 98) Jason Reynolds gibbered to All...
JR> I am using Borland 5.02, and am currently working on programming in
JR> mode 13h. I would like to take all my functions and make a library
JR> that could be used easily for my programs. The book I'm reading
JR> explains how to use Microsoft's C/C++ 7.0, but doesn't help me with
JR> using Borland. I've checked the help files, books etc, but cannot
JR> find anything usefull. Please help...
It's easier to do it from DOS using either BCC.EXE or BCC32.EXE.
Here is how it is done-
1) Include prototypes of your functions in the CPP file.
2) Compile it from dos using the switch that creates an OBJ file only.
i.e BCC -c MYFILE.CPP
3) Then use TLIB.EXE or TLIB32.EXE like this TLIB MYLIB.LIB+MYFILE.OBJ
Just make sure that when you use it in the code remember to include the
prototypes in the main file otherwise it will not work. If you have any
bother compiling it change it to a larger memory model.
---
****************************************************
* Bryan Joyce - Dream Weaver BBS - Fido 2:258/3.21 *
****************************************************
--- PPoint 2.03
---------------
* Origin: You Do The Best With What Ya got (2:258/3.21)
|