![]() | |
#11
| |||
| |||
|
|
Hi, My application needs database. We use SQLConnect to connect to database through DSN. The SQLConnect uses the registry to look the DSN entries. What i want to do is the, connect to the DB without registry. We ship the database connection drivers with our product. I even tried to use the SQLDriverConnect, in this i had provided all the connection paramters but still it takes the Driver info from registry. Is it possible to provide the whole path of the driver in the connection string while connecting e.g. SQLDriverConnect(...,DRIVER="...../ odbc.dll,.....) I tried FileDSN but that also not working. FileDSN is not actually registry free connection. It also looks for the DB Driver in the registry. Please, if anybody is having any info please let me know. |
#12
| |||
| |||
|
|
Hi, My application needs database. We use SQLConnect to connect to database through DSN. The SQLConnect uses the registry to look the DSN entries. What i want to do is the, connect to the DB without registry. We ship the database connection drivers with our product. I even tried to use the SQLDriverConnect, in this i had provided all the connection paramters but still it takes the Driver info from registry. Is it possible to provide the whole path of the driver in the connection string while connecting e.g. SQLDriverConnect(...,DRIVER="...../ odbc.dll,.....) I tried FileDSN but that also not working. FileDSN is not actually registry free connection. It also looks for the DB Driver in the registry. Please, if anybody is having any info please let me know. |
#13
| |||
| |||
|
|
Hi, My application needs database. We use SQLConnect to connect to database through DSN. The SQLConnect uses the registry to look the DSN entries. What i want to do is the, connect to the DB without registry. We ship the database connection drivers with our product. I even tried to use the SQLDriverConnect, in this i had provided all the connection paramters but still it takes the Driver info from registry. Is it possible to provide the whole path of the driver in the connection string while connecting e.g. SQLDriverConnect(...,DRIVER="...../ odbc.dll,.....) I tried FileDSN but that also not working. FileDSN is not actually registry free connection. It also looks for the DB Driver in the registry. Please, if anybody is having any info please let me know. |
![]() |
| Thread Tools | |
| Display Modes | |
| |