|
| dbconnect too slow in ACAD2008 |
 |
Thu, 24 Apr 2008 10:21:21 +000 |
Hello,
I'm trying to connect my Drawing to an Oracle Database using the
following Code:
// Late Binding
// gACADApp:=comobj.GetActiveOleObject('AutoCAD.Application.16'); // 2005
gACADApp:=comobj.GetActiveOleObject('AutoCAD.Application.17'); // 2008
gDbconnect:=gAcadApp.GetInterfaceObject('CAO.DbConnect.16'); // 2005
And 2008
// Connect to Database
gDBConnect.Connect('Datasource','User','Password',true);
Showmessage('Done');
In ACAD2005 everything works as it should - but ACAD2008 takes too long
to establish the connection.
The Datasource is an ODBC Datasource using the Oracle Driver.
Any suggestions?
Thanks
Thomas
|
| Post Reply
|
|
|
|
|
|
|
|
|
|