|
From: Markus H. <mar...@mh...> - 2007-08-30 09:45:09
|
Quoting Duncan McQueen <dwm...@gm...>: > Where does it look for the dbd directory that stores the drivers? > Does it look in the current runtime directory (ie what would be > returned by getcwd)? > This is up to your app. You can pass a directory to dbi_initialize() to have libdbi look in that directory for the drivers. This can of course be also the return value of getcwd, or a subdirectory of the user's home directory, or whatever you like. If you pass NULL instead, a compile-time default will be used which you can influence with appropriate libdbi configure switches. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |