type=class
superclass=Object
included=
extended=
library=win32ole

OLEȥ᡼󥵡Фη饤֥TypeLibˤ뤿
饹Ǥ

OLEȥ᡼󥵡Фϥ饤Ȥˡ饹󥿡ե
åɤʤɤΥ᥿ǡ󶡤뤿εޤξϳĥ
TLBȸƤФ饤֥ޤϥȥ᡼󥵡ФΥץ
꥽Ȥݻ졢饤Ȥ׵ˤäƻȲǽȤʤ


WIN32OLE_TYPELIB饹ϡTypeLibƳƼ򻲾Ȥ뤿Υ
Ȥޤ

=== ץ륳

   require 'win32ole'

   tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
   puts "Guid of Excel typelib = #{tlib.guid}"
   puts "version = #{tlib.major_version}.#{tlib.minor_version}"
   puts "creatable classes:"
   tlib.ole_types.select{|cls| cls.progid }.each do |cls|
     puts "  #{cls.name}: PROGID=#{cls.progid}"
   end

嵭¹ԤȰʲνϤޤ

 Guid of Excel typelib = {00020813-0000-0000-C000-000000000046}
 version = 1.7
 creatable classes:
   Application: PROGID=Excel.Application.14
   Chart: PROGID=Excel.Chart.8
   Worksheet: PROGID=Excel.Sheet.8

ǤϡExcelΥ饹Τ[[m:WIN32OLE.new]]Ǻǽʥ饹
ǻꤹ̾PROGIDˤȶ˼Ƥޤ
