Rhino 6 com object


(Info) #1

Hello I have a problem to upgrade my vbscript routine from v5 to v6

here the code that works well with v5

Set objRhino = CreateObject(“Rhino5x64.Application”)

If Err.Number <> 0 Then

  Call WScript.Echo("Failed to create Rhino object.")
  
  Exit Sub
  
End If

here the code that fails in V6

Set objRhino = CreateObject(“Rhino.Application.6”)

If Err.Number <> 0 Then

  Call WScript.Echo("Failed to create Rhino object.")
  
  Exit Sub
  
End If

something is wrong in my code ?
thanks in advance
Roberto


#2

Try this:

Set Rhino = CreateObject(“Rhino.Interface.6”)


(Info) #3

Thanks Dan
but the problem it’s the same
this is real error message " impossible to find the specified module error code 8007007E


(Info) #4

Problem Solved!

A good registry cleaner applcation has solved the Com object problem now it works!


(Dale Fugier) #5

I’m looking into this.

https://mcneel.myjetbrains.com/youtrack/issue/RH-43783

— Dale