Markus.Humm
2008-03-14 18:12:58 UTC
Hello,
during debugging on one of my applications I noticed something strange
in DBXCommon.pas of Rad Studio 2007:
I'm using a 3rd party driver to connect to Firebird and the dbx3 bridge.
I have set LoadParamsOnConnect to false but the connect did raise some
exception. Investigating this led to:
TDBXConnectionFactory.OpenConnectionFactory
which gets passed 2 parameters, namely the path and filenames to
dbxdrivers.ini and dbxconnections.ini. The function checks if those
files exist and if yes do something with them.
But after looking at what was actually passed I could only wonder:
This is some example to illustrate the principle as my path differs:
c:\temp\myapp/dbxdrivers.ini and c:\temp\myapp/dbxconnections.ini
Yes, / instead of \ before the filename, thus some exception that the
files aren't there was rised. I don't think this is as it should be. I'm
running december update.
Greetings
Markus
during debugging on one of my applications I noticed something strange
in DBXCommon.pas of Rad Studio 2007:
I'm using a 3rd party driver to connect to Firebird and the dbx3 bridge.
I have set LoadParamsOnConnect to false but the connect did raise some
exception. Investigating this led to:
TDBXConnectionFactory.OpenConnectionFactory
which gets passed 2 parameters, namely the path and filenames to
dbxdrivers.ini and dbxconnections.ini. The function checks if those
files exist and if yes do something with them.
But after looking at what was actually passed I could only wonder:
This is some example to illustrate the principle as my path differs:
c:\temp\myapp/dbxdrivers.ini and c:\temp\myapp/dbxconnections.ini
Yes, / instead of \ before the filename, thus some exception that the
files aren't there was rised. I don't think this is as it should be. I'm
running december update.
Greetings
Markus