I am trying to automatically register a Rhino plug-in under Windows 10 via a registry entry like described here.
On first startup of Rhino6 after installing the plug-in, I get the following error: 'Unable to load …rhp plug-in: no class derived from CRhinoPlugIn in plug-in file. After hitting ‘OK’ Rhino starts normally and the plug-in works correctly. Checking Tools/Options/Plug-ins shows that the plug-in was loaded three times.
When I close and open Rhino again no error message shows up and everything works.
The problem seems to be connected with the automatic loading procedure: When I load the plug-in via drag and drop it works with no error message showing up.
The plug-in was compiled using MSVC 2019 Version 16.4.1, the Rhino version is RH6 SR22 (6.22.20028.13281), the SDK version is 6.22.20028.13281.
Has anyone an idea what might cause the error message?