Thanks for the example! Yes, there's indeed a bug - his DLL is not properly opened by dll_open. This will be fixed. We'll probably replace dll_open anyway by a pragma definition. Until then, don't use dll_open but keep the DLL in the plugindir.