Losing useunicode setting when deploying application

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
TreyThrasher
Posts: 7
Joined: Fri 02 Sep 2011 13:15

Losing useunicode setting when deploying application

Post by TreyThrasher » Fri 02 Sep 2011 14:57

I have recently upgraded from Delphi 2007 to Delphi XE. After upgrading, I had a problem with all of my fields being cast as WideStrings rather than Strings (a unicode problem). I corrected that problem by setting the useunicode setting to false. My application is working in the ide and on my workstation. When I attempt to deploy it, however, the users are getting error messages such as:

Type mismatch for field 'description', expecting: String actual: WideString

It seems to me that either the useunicode setting is being lost or I need to do something in addition to set the useunicode setting on other workstations.

I am using Devart MySQL Direct (latest version).

TreyThrasher
Posts: 7
Joined: Fri 02 Sep 2011 13:15

Post by TreyThrasher » Fri 02 Sep 2011 15:07

One more piece of information. I have found that my application is running properly on computers running Windows 7 64-bit and Windows XP but not Windows 7 32 bit (only the win7 32 bit computers are demonstrating the problem that I described).

TreyThrasher
Posts: 7
Joined: Fri 02 Sep 2011 13:15

never mind

Post by TreyThrasher » Fri 02 Sep 2011 19:45

I found the problem. The dll was not copied into the application's directory.

TreyThrasher
Posts: 7
Joined: Fri 02 Sep 2011 13:15

never mind

Post by TreyThrasher » Fri 02 Sep 2011 20:37

I found the problem. The dll was not copied into the application's directory.

Post Reply