That's not surprising, but logical from what you said - so forget your WDL file for the moment. It has no effect on dll_open, it just changed your PLUGINDIR folder and thus gave you the illusion that dll_open worked.

We need to find why dll_open() appears not to work properly for your DLL. This seems to be a similar problem that TripleX was reporting.

If you want to test this, please remove your WDL file so that it does not interfere, and move the DLL into a subfolder "dll" to your project. Now open the DLL this way:

wii_handle_n = dll_open("dll\\ackwii.dll");

Please check a) if wii_handle_n is nonzero and b) if the DLL works.

On a side note - I see that you're developing a Wii remote dll, which is just what we also planned for the next update. Can you contact me on this? Maybe we can cooperate and save each other some work, or we can just use your code.