Microsoft KB Archive/37412

From BetaArchive Wiki
Knowledge Base

MS Press "Programmer's Toolbox" Doesn't Have .OBJ for C Code

Article ID: 37412

Article Last Modified on 11/21/2006


  • Microsoft QuickBasic 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBasic 4.5 for MS-DOS
  • Microsoft BASIC Compiler 6.0
  • Microsoft BASIC Compiler 6.0b
  • Microsoft BASIC Professional Development System 7.0

This article was previously published under Q37412


The "Microsoft QuickBasic Programmer's Toolbox" by John Clark Craig (Published by Microsoft Press, 1988), contains a useful library of more than 250 subprograms, functions, and utilities for supercharging QuickBasic programs.

The companion disk for "Microsoft QuickBasic Programmer's Toolbox" includes the C source files CTOOLS1.C and CTOOLS2.C, but does not include the corresponding .OBJ files. To utilize the 22 C routines in those modules, the two files must first be compiled; the .C files must be compiled with the large memory model, in Microsoft C Compiler Version 5.00 or later. (QuickC compilation will work only if no dynamic arrays are being used in the calling QuickBasic code.)

This information applies to Microsoft QuickBasic Versions 4.00, 4.00b, and 4.50, to Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and MS OS/2, and to Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2.


The files CTOOLS1.OBJ and CTOOLS2.OBJ are not distributed on the companion disks because using them also requires additional C run-time libraries. These, too, would have to be included to accommodate people without access to a C compiler.

Additional query words: QuickBas BasicCom

Keywords: KB37412