OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Constructing and Destroying TXOwl

TXOwl has two constructors to provide flexibility in passing the exception message string:

TXOwl(const string& str, unsigned resId = 0);
TXOwl(unsigned resId, TModule* module = gModule);

The first constructor initializes the TXBase base object with the value of the str parameter. resId is used as an error number. The second constructor loads the string resource identified by resId and uses the string to initialize TXBase. The TModule* identifies the module from which the resource should be loaded. It defaults to the global current module pointer Module, meaning that the resource should be loaded from the current module or application.

The TXOwl destructor has no default functionality other than that inherited from TXBase.