Well, I have no problem with the SQL driver for the first case (when I don't use a pointer) so I haven't changed the location for the SQL driver. But because I use a pointer you say I might need to have the dll file in the folder of my application?