Icon View Incident Report

Serious Serious
Reported By: Burak Kiper
Reported On: 2/2/1999
For: Version 1.09 Build 1
# 274 Modification of Boolean Fields in Delphi 3 or 4 Causing Access Violation in Delphi 1 or 2

I attached a table. Please open it using DBsysutils. Ang to over to field,
Askerlik,
Cinsiyet,
Ehliyet
You will get an AV. By the way, those words are in Turkish so their meaning is meaningless for you. Although whole tables is in Turkish, I want you to see this AV. More interestingly, this table works inside Delphi, perfectly.



Comments Comments
Problem was with invalid Boolean (WordBool) values causing an array lookup into a boolean array to AV.

Later investigation revealed that the Delphi 4 compiler started using 0xFFFF instead of 0x0001 as the WordBool value for True. This causes any prior version of Delphi, including DBSYS (which was built with D2.01), to AV when trying to deal with 0xFFFF as a True value when cast to a Boolean type.


Resolution Resolution
Fixed Problem on 2/15/1999 in version 1.11 build 1
Image