Rubyize
Upcoming SlideShare
Loading in...5
×
 

Rubyize

on

  • 1,058 views

RubyKaigi 2006

RubyKaigi 2006

Statistics

Views

Total Views
1,058
Views on SlideShare
1,056
Embed Views
2

Actions

Likes
1
Downloads
0
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Rubyize Rubyize Presentation Transcript

  • Ru by ize による言語境界の越え方
  • Agenda
    • TBD
  • Win32OLE
    • 助田さん作成
    • IDispatch
    • OLE オートメーション
    • VARIANT
    • 型フラグとデータによる汎用型
    • ITypeInfo
    • オブジェクトの型情報
  • COM
    • VTBL
    • IUnknown* ( QI 、 AddRef 、 Release)
    • Factory
      • IClassFactory
        • CoCreateInstance API
    • レジストリ
      • ProgID
      • CLSID
  • WSC
    • Windows Script Component
    • ScrObj.DLL
    • スクリプトが COM のオブジェクト
    • Rubyize も WSC
  • Rubyize
    • ASR 付属
    • インストールディレクトリ samples ubyize
    • 準備: regsvr32 rbobj.wsc
    • 利用:
    •   Set ruby = CreateObject(" ruby.object ")
    •   ruby = ActiveXObject.new (" ruby.object ")
  • Rubyize JScript VBScript
  • Rubyize Html Application DOM VBScript Ruby ActiveScriptRuby / Win32OLE name String:Arton VBClass:val {‘VB’=>}
  • Rubyize HOST ScrObj.DLL OLE*.DLL   RScript18.DLL msvcrt-ruby18.dll          Object IDispatch* IActiveScriptSite* IActiveScript* IDispatch*
  • ActiveScriptHost
    • 直接 Ruby をホストするより簡単
    • スクリプトニュートラル