plugindir has no effect on dll_open. So your WDL file will also crash.

http://manual.conitec.net/adll_open.htm

Calling a nonexistent function, such as a function from a not found DLL, will cause a crash.