Icon View Incident Report

Serious Serious
Reported By: David Michael
Reported On: 4/22/2008
For: Version 1.09 Build 3
# 2619 Compilation of Applications Using Unicode Version Require Inclusion of Compiler Define

I installed EDB 1.09 Build 3 (Unicode) today and ran into a bizarre problem.

The data written out into VARCHAR fields was unreadable. Gibberish. Lot's of ?'s and very little else. Blob fields worked fine.

I checked with the EDB Manager and confirmed that I was using the Unicode version of EDB. I even re-downloaded 1.09B3 and re-installed it. No difference.


Comments Comments and Workarounds
The issue was caused by the inclusion of the edbcomps.pas unit in the DCU directory during installation. This was done to alleviate a linker problem with Delphi 5, but it had the side effect of causing this issue whereby the edbcomps.pas unit was compiled without the EDB_UNICODE compiler define for Delphi 2007 applications using the Unicode version of ElevateDB. This ultimately would cause the gibberish. The workaround is to include the EDB_UNICODE compiler define in the application compiler defines for the project and to rebuild the entire application.

As of 1.09 Build 3, the edbcomps.pas unit is installed in the \source subdirectory under the main \code directory where the DCU files are installed. If you still need the edbcomps.pas unit for compilation under Delphi 5, just copy it from the \source subdirectory to the \code directory and it should resolve the problem.


Resolution Resolution
Fixed Problem on 4/22/2008 in version 1.09 build 4


Products Affected Products Affected
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image