Grasshopper Component C++ Dll Rhino WIP


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:
mylib_x64.dll - my C++ library

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…


If you try calling LoadLibrary
on your DLL from your grasshopper component, do you get a value back from that function other than IntPtr.Zero?