Post Unicode in Delphi5, when UseUnicode=True & Direct=True

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Wed 27 Oct 2010 14:46

AlexP, I sent you test project and other information that you need. Please check mail.
Thanks.

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 08:24

Have you received a letter from me? And tried to conduct test in Delphi 5 in Russian regional language settings? Thank you.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 28 Oct 2010 08:33

Helo,

I received your mail, and I have reproduced the problem.
I will notify you as soon as I have any results.

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 08:48

Ok, Thanks!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 28 Oct 2010 08:57

Hello,

I think that this problem is connected with the TntUnicodeControls components for Delphi 5. If I add a path to the TntUnicodeControls component files for Delphi 7 to the Search path in Delphi 5, everything works correctly.

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 09:33

AlexP, do I understand you correctly? You adapted "TNT Unicode Controls components for Delphi 7" under Delphi 5 and successfully compile test project?
Because I try doing that, but I see a lot of inconsistencies in the types and compiler directives. :(
Do I understand you correctly?

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 10:49

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.

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 12:07

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?

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 12:36

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.

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Thu 28 Oct 2010 13:47

Hello,

I wanted to ask, carried out there some work on my problem?

Thanks.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 28 Oct 2010 14:01

Hello,

Yes, we are working on this problem.
We will notify you as soon as we have any results.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Fri 29 Oct 2010 10:53

Hello,

We've found the bug and fixed it.
This fix will be included in the next build of ODAC.

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Sat 30 Oct 2010 17:10

Hello,

Great news! :) And when will next build of ODAC?
Thanks!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 01 Nov 2010 08:09

Hello,

We plan release the new build of ODAC this week.

Post Reply