Using dbx Oracle driver in VS CLR application
Posted: Mon 22 Mar 2010 13:51
Hi
I'm testing dbx driver for Oracle. Is it possible to make it working with CLR .NET applications (C#) that are using a custom assembly ( with dbx support ) made by Delphi for .NET 2007? I have :
- assembly with dbx support ( Delphi for .NET 2007 )
- VS C# .NET app
- Delphi for .NET 2007 app
If I create .NET application in Delphi for .NET then I can use my assembly and dbx driver without any problems (like in your samples for .net). But when I build .NET app in VS C# then upon using the dbx driver I get error :
Can't do a dynamic cast of type 'Devart.DbxOda.DriverLoader.TCRDynalinkDriverLoader' into type 'Borland.Data.TDBXDriverLoader
Strange but the same apps are working with your Firebird dbxdriver.
Will this work or dbExpress driver for Oracle can't work in CLR .NET env?
Regards
Artur
I'm testing dbx driver for Oracle. Is it possible to make it working with CLR .NET applications (C#) that are using a custom assembly ( with dbx support ) made by Delphi for .NET 2007? I have :
- assembly with dbx support ( Delphi for .NET 2007 )
- VS C# .NET app
- Delphi for .NET 2007 app
If I create .NET application in Delphi for .NET then I can use my assembly and dbx driver without any problems (like in your samples for .net). But when I build .NET app in VS C# then upon using the dbx driver I get error :
Can't do a dynamic cast of type 'Devart.DbxOda.DriverLoader.TCRDynalinkDriverLoader' into type 'Borland.Data.TDBXDriverLoader
Strange but the same apps are working with your Firebird dbxdriver.
Will this work or dbExpress driver for Oracle can't work in CLR .NET env?
Regards
Artur