I’m just starting in this field, and I hope you can assist me with my issue.
I’m attempting to create a WPF (.NET Framework) application that opens a Rhinoceros application instance, allowing the user to view or select certain elements. I would like to develop a 64-bit application, but I’m encountering errors with the COM libraries “Rhinoceros 6 Type Library” and “RhinoScript Type Library.” The error message states:
Failed to retrieve the COM class generator for the component with CLSID {1C896D49-793C-474D-A3C5-176904543BED} due to the following error: 8007045a Error in a dynamic link library (DLL) initialization routine. (HRESULT Exception: 0x8007045A).
I have checked that this doesn’t happen if I compile a 32-bit application.
Perhaps it’s not feasible to accomplish what I require, but I’m becoming frustrated as I’ve attempted various libraries, and none of them allow me to open Rhino and work with it.
but I think it’s worth evaluating if a latest/ more modern approach like a Rhinocommon plug-in or some other developer-approaches are suited better for your needs:
Hi @Tom_P ,
Thank you, I 've tried it and it doesn’t work for me. I’ve also tried with “Rhino.Application.6”, as commented in that topic, but neither works.
Hi @dale , Thank you!, I’m using Rhino 6. My application is 64-bit but doesn’t work. I’ve had also tried with Rhino.Inside but I didn’t manage to open a new instance. Do you have any suggestion?
@dale@Tom_P
I have managed to use Rhino.Inside with the evaluation version, but I need to work with Rhino 6. Is there any way to do it with RHino 6?
Thank you!
Please review the sample @Tom_P has referenced. Ignore the plug-in portion of the sample and focus on console app, which show how to launch Rhino via ActiveX automation…