Surround the path to the dll in "double quotes"

mIRC has a built in $qt identifier to do this: dll $qt(<path to dll>) <function> <parameters>