Hi all,
I'm trying to create a simple DSP plug-in for foobar, that links to another DLL. I'm linking to it using an import library (.lib file). When build my plug-in, place it in the components directory and run foobar, it gives me this message:
"Failed to load DLL: foo_dsp_sandbox.dll. Reason: This component is missing a required dependency, or was made for different version of foobar2000."
I've tried placing the other DLL in the foobar2000 directory, the components directory, and in windows\system32 directory, but hit the same error.
The other DLL and its .lib file are fine; I've linked to it successfully in a stand-alone Win32 console app. Also, foo_dsp_sandbox.dll works fine if I remove all references to the other DLL and don't link to it.
Does this mean that I need to link to the other DLL without the .lib file? I'd like to avoid it, if at all. If this is indeed the case, could you explain why it is so?
Thanks!