Grasshopper Component C++ Dll Rhino WIP

Hi,

I finished the Voronax plug-in for Grasshopper that calls my C++ library but I cannot get it to work in WIP.

I copy these three files into the C:\Users\Me\AppData\Roaming\Grasshopper\Libraries:
myplugin.gha
mylib_x64.dll - my C++ library
my_common.dll

and still get the message in Grasshopper (it says it cannot find it in German):

  1. Solution exception:Die DLL “mylib_x64.dll”: Die angegebene Prozedur wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007F) kann nicht geladen werden.

Why can`t it find it when it is in the same folder?

This is all happenning in Rhino WIP…in Rhino 5 everything works fine when I copy those three files into the Libraries folder…

Thanks!
Milos

If you try calling LoadLibrary
http://www.pinvoke.net/default.aspx/kernel32/LoadLibrary.html
on your DLL from your grasshopper component, do you get a value back from that function other than IntPtr.Zero?