PRODUCT : Borland C++ NUMBER : 1395
VERSION : 3.1
OS : DOS
DATE : October 25, 1993 PAGE : 1/5
TITLE : How to use HeapView in a Turbo Vision program
//===============================================================
// The following routines have been uploaded to the Borland
// Forum BPROGB on CompuServe by the Technical Support staff.
// They are provided as a courtesy and not as part of a Borland
// product; and, as such, are provided without the assurance of
// technical support or any specific guarantees.
//==============================================================
// Turbo Vision - Heap View Demo
//
// This sample code demonstrates creating and inserting a heap
// view into a Turbo Vision application.
//
// To compile on the command line:
// 1. Add the following lines to \BORLANDC\BIN\TURBOC.CFG
// (modify the paths appropriately for your system.)
//
// -I\borlandc\tvision\include;\borlandc\tvision\demos
// -L\borlandc\tvision\lib
//
// 2. Run the following command:
//
// bcc -ml heap.cpp gadgets.cpp tv.lib
//
// To compile in the IDE:
//
// 1. Create a project file.
// 2. Insert heap.cpp and gadgets.cpp into the project.
// 3. Under Options | Application, select Dos Standard.
// 4. Under Options | Compiler | Code Generation, select Large
// Memory Model.
// 5. Under Options | Linker | Libraries, check Turbo Vision
// Library.
// 6. Under Options | Directories, add the TVISION\INCLUDE and
// TVISION\DEMOS directories to the include path. Add the
// TVISION\LIB directory to the library path.
//
// NOTE:
// Gadgets.cpp is in c:\borlandc\tv\demos sub-directory.
//
//===============================================================
#define Uses_MsgBox
#define Uses_TProgram
PRODUCT : Borland C++ NUMBER : 1395
VERSION : 3.1
OS : DOS
DATE : October 25, 1993 PAGE : 2/5
TITLE : How to use HeapView in a Turbo Vision program
#define Uses_TApplication
#define Uses_TMenuBar
#define Uses_TSubMenu
#define Uses_TMenuItem
#define Uses_TStatusLine
#define Uses_TStatusItem
#define Uses_TStatusDef
#define Uses_TDeskTop
#define Uses_TView
#define Uses_TDialog
#define Uses_TButton
#define Uses_TMenu
#define Uses_TKeys
#include