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).
Losing useunicode setting when deploying application
-
- Posts: 7
- Joined: Fri 02 Sep 2011 13:15
-
- Posts: 7
- Joined: Fri 02 Sep 2011 13:15
-
- Posts: 7
- Joined: Fri 02 Sep 2011 13:15
never mind
I found the problem. The dll was not copied into the application's directory.
-
- Posts: 7
- Joined: Fri 02 Sep 2011 13:15
never mind
I found the problem. The dll was not copied into the application's directory.