when I try to load an rhp which calls a protected dll, Rhinoceros 6 crashes. I’ve never had any similar problem with either RH5 or RH4. Can you have a try and give me some hint on how to solve this condition?
from the link above, you can find the unprotected version which works perfectly and the protected one which crashes as soon as Rhinoceros tries to call the dll. Also VS2017 solutions for both cases have been added.
The dll is protected by means of a dongle but Rhinoceros seems to crash even before any access to the hardware device is attempted so I thinlk you should not have any problem even if you do not have the dongle need.
Hi Dale,
I implemented RHPs from scratch whereas for migrating DLLs I followed the instructions you mentioned.
The crash occurs only after the dll has been protected. Otherwise it works fine. The problem seems to occurr when Rhinoceros tries to make call to the wrapped dll. Is that possible for you to reproduce the crash and give me any hint on how to solve the matter? I provided all files you need.
If you need a sample of how to have a Rhino plug-in call a utility DLL, then take a look at the attached sample and let me know if you have any questions.