ODBC Connections in ActiveX DLL

Discussion forum about all things SqlBase or SqlTalk
VarunChandran

ODBC Connections in ActiveX DLL

Post by VarunChandran » 04 Jun 2010, 04:32

Hi All,

I have an ActiveX dll added to the application, which uses ODBC connection for connecting to the database.
But the connection is not getting established.
I am using SQL Base 9.0.1, and Team Developer5.2 for creating application.

The Interesting is that, if we place the same ActiveX in Team Developer 1.5.1, and I am able to connect to the database.

I have created a ODBC Connection to SQL Base 9.0.1 and just passing the DSN name,database name and database password to the ActiveX function.

Is there some thing extra I have to do for establishing an ODBC connection in 5.2.
I have been using 1.5.1, so I am new in 5.2.

Please help me

Regards
Varun

Jeff Luther

Re: ODBC Connections in ActiveX DLL

Post by Jeff Luther » 04 Jun 2010, 20:14

Is there some thing extra I have to do for establishing an ODBC connection in 5.2.
The answer is, no, there should be nothing special assuming you have the DB client, correct entry in SQL.INI, etc.

I suggest you start simple by trying this outside your AX and see if you can connect, though SB 9 isn't on the compatibility list for 5.2.

Return to “SqlBase General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests