is this dll present and registered (if needed)? anyway be aware of a pernicious trap in all ms 64bit editions: File System Redirection (see
wikipedia).
If all your processes (cmd.exe, Perl ..) are 64 bit they see the real System32 path, otherway the resulting process is a 32bit one and see total different paths.
You can workaround this using the special, fictional, not wellknown, 'sysnative' path.
HtH
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.