Page 1 of 1

install remobjects 6.0.43.801 and unidac 3.50.0.12

Posted: Tue 14 Dec 2010 05:23
by bugmenot1
when I build DataAbstract_UniDACDriver_D14.dproj in delphi2010, then show this error:

[DCC Error] ODBCClassesUni.pas(1115): E1060 Explicit string cast with potential data loss from 'string' to 'AnsiString'

and the code is

Code: Select all

Len := WriteAnsiString(AnsiString(Str));
how to fix this?

Posted: Thu 16 Dec 2010 09:44
by bork
Hello

I installed UniDAC (3.50.0.14) and RemObjects trial version (6.0.49.861). And I added to the RemObjects sample project our components: TUniConnection, TUniQuery, and ODBCUniProvider. All was compiled successfully and I could not reproduce this issue. Please send me a small sample application to reproduce this issue to borism at devart.com.