Post Unicode in Delphi5, when UseUnicode=True & Direct=True
AlexP, something's wrong here ... Because if the problem was in TntUnicodeControls components for Delphi 5, then the problem would be anyway, when working through the direct mode and without it. Do you agree?
I think, variant that OraNet.dcu in Delphi 7 works correctly in direct mode, but in Delphi 5 - is not correct, more like the truth.
I think, variant that OraNet.dcu in Delphi 7 works correctly in direct mode, but in Delphi 5 - is not correct, more like the truth.
Today we have the following situation.
I tried to run the tests for next configurations:
- Delphi 5, TNTUnicodeControls for Delphi 5 and ODAC 7.00.0.1 for Delphi 5 under Windows XP and then under Windows 2008 Server.
- Delphi 7, TNTUnicodeControls for Delphi 7 and ODAC 7.00.0.1 for Delphi 7 under Windows XP and then under Windows 2008 Server.
We have next results:
In Delphi 7 all work correctly in the direct mode and without it in both versions Windows and at all regional language settings.
In Delphi 5 all work correctly in both versions Windows and at all regional language settings only through the Oracle client (without direct mode).
In direct mode in Delphi 5 all work correctly only under Windows 2008 Server, and only if we have Romanian regional language settings.
In all other cases we have the problem with saving Unicode characters in the database.
Adapt TNTUnicodeControls for Delphi 7 to work with Delphi 5, I could not. Too many types and compiler directives mismatches. I do not understand how you did it. But, on the basis of test results, it is clear that the problem is not in the TNTUnicodeControls for Delphi 5.
AlexP, how can you comment on this situation?
I tried to run the tests for next configurations:
- Delphi 5, TNTUnicodeControls for Delphi 5 and ODAC 7.00.0.1 for Delphi 5 under Windows XP and then under Windows 2008 Server.
- Delphi 7, TNTUnicodeControls for Delphi 7 and ODAC 7.00.0.1 for Delphi 7 under Windows XP and then under Windows 2008 Server.
We have next results:
In Delphi 7 all work correctly in the direct mode and without it in both versions Windows and at all regional language settings.
In Delphi 5 all work correctly in both versions Windows and at all regional language settings only through the Oracle client (without direct mode).
In direct mode in Delphi 5 all work correctly only under Windows 2008 Server, and only if we have Romanian regional language settings.
In all other cases we have the problem with saving Unicode characters in the database.
Adapt TNTUnicodeControls for Delphi 7 to work with Delphi 5, I could not. Too many types and compiler directives mismatches. I do not understand how you did it. But, on the basis of test results, it is clear that the problem is not in the TNTUnicodeControls for Delphi 5.
AlexP, how can you comment on this situation?
Shock!
I just did the opposite. I installed "TntUnicodeControls for Delphi 5" under Delphi 7 (in this packet was support for Delphi 6 and Delphi 7 through compiler directives) and compiled test project.
And everything is working correctly in the direct mode under Windows XP and in the Russian regional language settings!!!
This only confirms that the problem is not related to the TntUnicodeControls for Delphi 5.
I just did the opposite. I installed "TntUnicodeControls for Delphi 5" under Delphi 7 (in this packet was support for Delphi 6 and Delphi 7 through compiler directives) and compiled test project.
And everything is working correctly in the direct mode under Windows XP and in the Russian regional language settings!!!
This only confirms that the problem is not related to the TntUnicodeControls for Delphi 5.