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

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to