Question about userdata defined in a dll
ok scenario :
I want to be able to read userdata from both a rhino plugin (rhp) and a grasshopper dll (GHA)
so I have defined a derived UserData class in a dll.
I get a exception when I call the routine (in my case a Layer object ) from the rhp plugin
UserDataEx data = new UserDataEx();
Before moving the class into a dll it was working fine, so I assume the class needs something else
but since I am not a c# guru for sure I am missing something
Any info on to implement this correctly ?