Rubyize

  • 537 views
Uploaded on

RubyKaigi 2006

RubyKaigi 2006

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
537
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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