aldric[removeme]
12/21/2008 7:40:00 PM
Li Chen wrote:
> Hi all,
>
> I want to call voice function using win32ole under cygwin. But Ruby
> always stops working and a new window pops up the error message. I
> wonder how to fix it.
>
> Thanks,
>
> Li
>
> $ irb
> irb(main):001:0> require 'win32ole'
> => true
> irb(main):002:0>
> irb(main):003:0* v=WIN32OLE.new('SAPI.SpVoice')
> => #<WIN32OLE:0x7ffa1a0c>
> irb(main):004:0> v.speak('hello')
>
>
> Error message in the pop windows:
> Ruby interpreter (CUI) 1.8.7.o [i386-cygwin] has stopped working.
Does Cygwin have proper sound drivers installed? Does it know how to
send the sound out?