| | | | Browse by category |
Article ID: 869
Last updated: 31 Jan, 2008
Problem
The examples built OK, but I get the following error when I run the tutsetup executable:
Cause
This is caused by building Tools.h++ with the RW_CENTURY_REQD macro set and then using older data files in the examples that only have 2 digit years.
Action
The examples built OK, but I get the following error when I run the tutsetup executable:
D:
wDBToolsworkspacesWINNT4MSVC6011sexamplesdbt0321w>tutsetup
Assertion failed: ((!needAll || maxdigits == 0)) != 0, file
D:/rw/DBTools/parts/tls0710wsourcesrclocale.cpp, line 1068
abnormal program termination
Cause
This is caused by building Tools.h++ with the RW_CENTURY_REQD macro set and then using older data files in the examples that only have 2 digit years.
Action
To fix the problem, simply go into the data files in the DBTools.h++ examples directory and change the following files:
purchase.dat
rental.dat
t4in.dat
The only modifications needed is to make the dates into 4 digit years. For example, change 02/01/94 to 02/01/1994. We will correct these dates in future versions of the examples.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 869
Last updated: 31 Jan, 2008
Revision: 1
Views: 2517
Posted: 15 Feb, 2000 by
Dean J.
Updated: 31 Jan, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)