I am attempting to use the MSScriptcontrol with rubyscript:
objShell = WIN32OLE.new("WScript.Shell")
com1 = WIN32OLE.new('comobject.name')
script = WIN32OLE.new("MSScriptControl.ScriptControl")
script.language = "RubyScript"
script.addObject("com1",comObject,true)
However the following error occurs:
[Bug] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-mswin32]
Any ideas? Or am I doing something wrong here? |