⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
WIN32OLE_RECORD
/
Edit File: new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"WIN32OLE_RECORD::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"OReturns WIN32OLE_RECORD object. The first argument is struct name (String ;TI"or Symbol). ;TI"TThe second parameter obj should be WIN32OLE object or WIN32OLE_TYPELIB object. ;TI"@If COM server in VB.NET ComServer project is the following:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I",Imports System.Runtime.InteropServices ;TI"Public Class ComClass ;TI" Public Structure Book ;TI"/ <MarshalAs(UnmanagedType.BStr)> _ ;TI"$ Public title As String ;TI"$ Public cost As Integer ;TI" End Structure ;TI"End Class ;T:@format0o; ; [I"Athen, you can create WIN32OLE_RECORD object is as following:;T@o;; [ I"require 'win32ole' ;TI".obj = WIN32OLE.new('ComServer.ComClass') ;TI"Jbook1 = WIN32OLE_RECORD.new('Book', obj) # => WIN32OLE_RECORD object ;TI"tlib = obj.ole_typelib ;TI"Jbook2 = WIN32OLE_RECORD.new('Book', tlib) # => WIN32OLE_RECORD object;T; 0: @fileI"#ext/win32ole/win32ole_record.c;T:0@omit_headings_from_table_of_contents_below0I"BWIN32OLE_RECORD.new(typename, obj) -> WIN32OLE_RECORD object ;T0[ I" (p1, p2);T@&FI"WIN32OLE_RECORD;TcRDoc::NormalClass00
Simpan