Unit "DBXSQLServerDevart" automaticaly added to uses clause

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
tomazl
Posts: 3
Joined: Mon 08 Dec 2008 09:55

Unit "DBXSQLServerDevart" automaticaly added to uses clause

Post by tomazl » Mon 08 Dec 2008 10:06

I use driver ver. 4.45.13
When I set the connection name = 'Devart SQL Server' and the driver is set (Driver = 'DevartSQLServer'), then the unit DBXSQLServerDevart automaticaly is addet to uses clause of DataModule. But there is no unit with the name DBXSQLServerDevart, right unit name is DBXDevartSQLServer. I can't get rid of this, and the project can't be compiled.

I looked in the unit DBXDevartSQLServer.pas, and on the line 56, there is the code:
DriverProperties[TDBXPropertyNames.DriverUnit] := 'DBXSQLServerDevart';
Maybe this is the problem, but I need the solution.

Thanks, Tomaz

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 09 Dec 2008 12:29

I could not reproduce the problem. But really in the DBXDevartSQLServer unit DriverUnit should be set in 'DBXDevartSQLServer'.
Please specify the exact version of your IDE.

tomazl
Posts: 3
Joined: Mon 08 Dec 2008 09:55

Post by tomazl » Thu 18 Dec 2008 09:35

I've upgraded IDE to the latest vesion (12.0.3210.17555), and now it adds correct unit to the uses clause...

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 19 Dec 2008 12:56

I am happy that this problem has been solved.

Post Reply