[DUG] The New DataDirect ODBC Driver

Paul McKenzie paul at smss.org.nz
Mon Aug 28 16:14:45 NZST 2006


Has any managed to create the DSN for this driver in code ?
Below is simplified code - which I can't get to work...

Any help much appreciated.

     Result := SQLConfigDataSource(0, 1,
       'DataDirect ODBC for InterBase', PChar(
       'DSN='+ 'MyTestDSN' + #0 +
       'Driver=' + 'C:\Windows\System32\ivint21.dll' + #0 +
       'DBQ=' + 'C:\TestDBDir\TestDB.ib' + #0 +
       'DefaultDir=' + ExtractFilePath('C:\TestDBDir\TestDB.ib') + #0 +
       'DESC=' + 'Test ODBC Entry' + #0 + #0));

-- 
Regards
Paul McKenzie
Wellington
New Zealand



More information about the Delphi mailing list