Page 1 of 1

Could not compile used unit 'DBXDevartSQLServer.pas'

Posted: Fri 03 Jun 2016 12:27
by alwillis1357
I have Delphi 10.1 Berlin. I just purchased the 7.2.4 version of the dbExpress MSSQL driver. 32-bit application, Windows 7.

After selecting "Devart SQL Server" as the driver in a TSQLConnection, DBXDevartSQLServer is placed in the uses clause of my IMMain_dmu.pas unit. When I compile I get the error:

[dcc32 Fatal Error] IMMain_dmu.pas(9): F2063 Could not compile used unit 'DBXDevartSQLServer.pas'

I have the path "C:\Program Files (x86)\Devart724\Dbx\SqlServer\Lib\Delphi24\Win32" in both my Library Path and Browsing path. DBXDevartSQLServer.dcu is in that path.

I saw a post in another forum that says an error like this usually means that the dcu was compiled with a different version Delphi.

I should have ordered the source files but didn't. Can I get the correct DCU?

Re: Could not compile used unit 'DBXDevartSQLServer.pas'

Posted: Fri 03 Jun 2016 15:26
by alwillis1357
Disregard. There was an older .dcu in in another directory in the search path.

Re: Could not compile used unit 'DBXDevartSQLServer.pas'

Posted: Mon 06 Jun 2016 14:57
by MaximG
We are glad to see the problem resolved. Please don't hesitate to contact us with questions concerning dbExpress Driver for SQL Server usage.