Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
WIN32OLE
/
//opt/alt/ruby21/share/ri/2.1.0/system/WIN32OLE/ole_activex_initialize-i.ri
U:RDoc::AnyMethod[iI"ole_activex_initialize:ETI"$WIN32OLE#ole_activex_initialize;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<Initialize WIN32OLE object(ActiveX Control) by calling ;TI"IPersistMemory::InitNew.;To:RDoc::Markup::BlankLine o; ; [I"BBefore calling OLE method, some kind of the ActiveX controls ;TI"7created with MFC should be initialized by calling ;TI"IPersistXXX::InitNew.;T@o; ; [I"DIf and only if you received the exception "HRESULT error code: ;TI">0x8000ffff catastrophic failure", try this method before ;TI"invoking any ole_method.;T@o:RDoc::Markup::Verbatim; [I"=obj = WIN32OLE.new("ProgID_or_GUID_of_ActiveX_Control") ;TI" obj.ole_activex_initialize ;TI"obj.method(...);T:@format0: @fileI"ext/win32ole/win32ole.c;T:0@omit_headings_from_table_of_contents_below0I"/WIN32OLE#ole_activex_initialize() -> Qnil ;T0[ I"();T@FI" WIN32OLE;TcRDoc::NormalClass00