Borland C++ Builder Homepage

Site Index:
Bullet Home
Bullet Code
Insert Introduction
Insert Classes
Insert Bottom
Bullet Tutorials
Bullet Bugs

Steve's Borland C++ Builder Page - Code

Introduction

This section of my Builder web pages will present some bits and pieces that I have written that other people might like to use. The code is freely available to anybody, for any purpose, with no acknowledgement necessary (although an email to me would be nice, so I know what is happening with my stuff). I of course retain the copyright on any of the source code (so try to keep the file headers largely intact).

To Top
Classes

Class Description Date Added Last Update
TLogger

A thread-safe logger, that uses a separate thread for writing to the log file. This would be a good example for anybody who wants to learn how to write multithreaded applications as it demonstrates the use of Mutexes, Critical Sections, and Events for interprocess communication.

Zip File containing code

The class is documented solely in the source code.

20 June 1999 N/A
TDX7Panel A Direct3D 7 surface component based on TCustomPanel. To use this class you will need the DirectX 7 SDK for the headers and Borland libraries. You can just copy the header files into the $(BCB)/Include directory, and the library files into the $(BCB)/Lib directory.

Zip File containing code

You have to supply the component with an initialised IDirectDraw7 interface which can be created by (doing error checking ofcourse):

LPDIRECTDRAW7 lpDD;

DirectDrawCreateEx(NULL,reinterpret_cast<void **>(&lpDD),IID_IDirectDraw7,NULL);

Note that all of this is obsolete now and you should head to Clootie graphics page for the latest info on DirectX 9 for BCB6.

4 November 1999 N/A

To Top
Bottom

Mail the webmaster.

Last updated: 16 October 2004
©Steven Haworth 1999-2004