title: Delphi 2010, Connect to mySQL and Firebird database without lib dlls
body: <p>I am writing a portable application that connects to both a firebird database and a mysql database. I am writing the application in Delphi 2010, and using dbExpress components to connect to both databases. SQLconnection component uses dbxmys.dll and libmysql.dll for the mysql database, and dbxfb.dll and fbclient.dll for the firebird database. </p>
  
  <p>On my development computer I had to move the dll files into /windows/system/. I think this is because of the system paths, in order to find the correct files and connect.  I tried this on another client machine, and the software could not connect because the dll files were not found.  Because this is a portable application I do not want to include a sub directory of the application directory to include the dll files, however I do not think the a client machine can run the applicaiton without having mySQL and Firebird installed and the pathing set correctly.</p>
  
  <p>Is there a better way to do this? I have concidered making a sub directory and forcing my application to look there, (since firebird and mySQL can be installed anywhere) if they were included I would know for sure were they were at on any computer my app is launched from.  But I don't really want to take this approach. </p>
  
  <p>What are my options as far as direct db connection, or solving the dll requirement problem, I am not an experienced software developer.  Thanks in advance.</p>
  
  <p>Update:
  The DLLs are now in the same directory with the exe, and the application launches fine. I Still do not want to use any dlls. I have found a few components that do not require dlls, but they also require payment, finding another free option would be ideal.</p>