dtl


Frequently Asked Questions

about the Database Template Library


Which compilers are supported?
The DTL has been tested on these compilers: Microsoft Visual C++ 6.0 using Windows NT, GNU C++ 3.0 using Red Hat Linux 7 with unixODBC 2.0.8.

If you succeed in using the DTL with some other compiler, please let us know, and please tell us what modifications (if any) you had to make.

How do I install the DTL?
You should unpack the DTL include files in a new directory, and then use the -I (or /I) option to direct the compiler to look there first. You will need to compile and link to the library file that we generate. See the Readme.htm that comes with the installation for details

Is the DTL Y2K compliant?
Yes, to the degree that the underlying database it is reading from is Y2K compliant. The DTL reads into the standard ODBC timestamp structure. Since DTL does not manipulate this date in any way, the resulting time strucutre will be correct as long as it comes from the database correctly. In addition, DTL provides date math functions through the use of an optional jtime_c structure. These functions will process dates both before and after the year 2000 correctly. See jtime_c for details.


[DTL Home]

Copyright © 2002, Michael Gradman and Corwin Joy.

Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Corwin Joy and Michael Gradman make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

This site written using the ORB. [The ORB]

1