Good to know it was a library issue, the DLL seems to be the equivalent to the SQL library for PHP.