I want to use Ruby to manipulate the famous 3D software Solidworks though win32ole. I just did this in the irb: >require ''win32ole'' =>true >sw = WIN32OLE.new(''SldWorks.Application'') Then I found the Solidworks'' process running in the backgroung though the Process Manager. Then ,after long time waiting, it results in this error: WIN32OLERuntimeError:failed to create WIN32OLE object from ''SldWorks.Application'' HRESULT error code:0x80080005 I also do some testing like this: first I started the SolidWorks ,seeing the Solidworks'' process running in the backgroung though the Process Manager. then in the irb : >require ''win32ole'' =>true >sw = WIN32OLE.connect(''SldWorks.Application'') The error: WIN32OLERuntimeError:OLE server ''SldWorks.Application'' not running HRESULT error code:0x800401e3 I realy want to know why. Thank you for your time --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I want to use Ruby to manipulate the famous 3D software Solidworks though win32ole. I just did this in the irb: >require ''win32ole'' =>true >sw = WIN32OLE.new(''SldWorks.Application'') Then I found the Solidworks'' process running in the backgroung though the Process Manager. Then ,after long time waiting, it results in this error: WIN32OLERuntimeError:failed to create WIN32OLE object from ''SldWorks.Application'' HRESULT error code:0x80080005 I also do some testing like this: first I started the SolidWorks ,seeing the Solidworks'' process running in the backgroung though the Process Manager. then in the irb : >require ''win32ole'' =>true >sw = WIN32OLE.connect(''SldWorks.Application'') The error: WIN32OLERuntimeError:OLE server ''SldWorks.Application'' not running HRESULT error code:0x800401e3 I realy want to know why. Thank you for your time --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---