ole_activex_initialize

WIN32OLE#ole_activex_initialize() â Qnil
Instance Public methods

Initialize WIN32OLE object(ActiveX Control) by calling IPersistMemory::InitNew.

Before calling OLE method, some kind of the ActiveX controls created with MFC should be initialized by calling IPersistXXX::InitNew.

If and only if you received the exception âHRESULT error code: 0x8000ffff catastrophic failureâ, try this method before invoking any ole_method.

obj = WIN32OLE.new("ProgID_or_GUID_of_ActiveX_Control")
obj.ole_activex_initialize
obj.method(...)
doc_ruby_on_rails
2015-06-12 21:07:41
Comments
Leave a Comment

Please login to continue.