Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI657.ASC

 
Output of file : TI657.ASC contained in archive : C_ALL.ZIP







PRODUCT : Borland C++ NUMBER : 657
VERSION : 2.0
OS : PC DOS
DATE : August 20, 1992 PAGE : 1/1

TITLE : Linking a Windows Application from the Command Line




The syntax for TLINK is:

TLINK objfiles,exefile,mapfile,libfiles,deffile

You must always use the /Tw option to create a Windows EXE
or DLL. Use /Twe or /Twd to specifically create a Windows
EXE or DLL, respectively. The last two options override
specifications in the DEF file.

There is a specific startup module to use with Windows EXE's;
it is C0Wx.OBJ. For DLL's it is C0Dx.OBJ.

The required libraries are: IMPORT.LIB, CWINx.LIB, MATHx.LIB
and Cx.LIB. For DLL's the Windows library for the small and
compact models is CWINC.LIB and for medium and large it is
CWINL.LIB. The last three libraries, CWINx.LIB, MATHx.LIB and
Cx.LIB, must always be in this exact order.

NOTE: The libraries EMU.LIB and FP87.LIB will NEVER be used
in a Windows program. BC++ will take care of the floating-point
math automatically.

You will then have to run the Resource Compiler to fully
create a Windows EXE.

For more information, consult pages 115-130 in the User's Guide
on linking for Windows.


DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.


















  3 Responses to “Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI657.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/