Extren "c" problem

HI,
What did I miss?



0

I don’t think you can directly reference an RHP file in C# code, or at least not in a C# script component . When that gets loaded because of your P/Invoke call, Rhino most likely thinks you are loading a plug-in., and gives you the error.

I would recommend to create a common DLL, referenced both by your plugin RHP and by your grasshopper component.

1 Like