dlls usually register in the System32 directory. True you can use one in any location but when your calling an API function like that it will only look in the System32 directory. You can place the full path to the dll in the API declaration but it wil not accept variables or dynamic strings.

Best solution is to register the dll and place int he System32 dir.