djberg96
1/7/2005 3:40:00 PM
Joey Gibson wrote:
> Daniel Berger wrote:
>
> >Hi all,
> >
> >I'm happy to announce the release of win32-sapi 0.1.0.
> >
> >
>
> I just downloaded it and followed the instructions in README. Here's
> what I got:
>
> Loaded suite tc_sapi5
> Started
> ..F.........F......
> Finished in 0.23 seconds.
>
> 1) Failure:
> test_SpInProcRecoContext(TC_Win32_SAPI5) [tc_sapi5.rb:41]:
> Exception raised:
> Class: <WIN32OLERuntimeError>
> Message: <"failed to create WIN32OLE object from
> `{73AD6842-ACE0-45E8-A4DD-8795881A2C2A}'\n HRESU
> LT error code:0x8004503a\n ">
> ---Backtrace---
> E:/New/win32-sapi-0.1.0/lib/win32/sapi5.rb:28:in `initialize'
> E:/New/win32-sapi-0.1.0/lib/win32/sapi5.rb:28:in `initialize'
> tc_sapi5.rb:41:in `new'
> tc_sapi5.rb:41:in `test_SpInProcRecoContext'
> tc_sapi5.rb:41:in `assert_nothing_raised'
> tc_sapi5.rb:41:in `test_SpInProcRecoContext'
> ---------------
>
> 2) Failure:
> test_SpSharedRecoContext(TC_Win32_SAPI5) [tc_sapi5.rb:81]:
> Exception raised:
> Class: <WIN32OLERuntimeError>
> Message: <"failed to create WIN32OLE object from
> `{47206204-5ECA-11D2-960F-00C04F8EE628}'\n HRESU
> LT error code:0x8004503a\n ">
> ---Backtrace---
> E:/New/win32-sapi-0.1.0/lib/win32/sapi5.rb:88:in `initialize'
> E:/New/win32-sapi-0.1.0/lib/win32/sapi5.rb:88:in `initialize'
> tc_sapi5.rb:81:in `new'
> tc_sapi5.rb:81:in `test_SpSharedRecoContext'
> tc_sapi5.rb:81:in `assert_nothing_raised'
> tc_sapi5.rb:81:in `test_SpSharedRecoContext'
> ---------------
>
> 20 tests, 20 assertions, 2 failures, 0 errors
>
> This is a WindowsXP Pro system, SP1, ruby 1.8.2 (2004-07-29)
[i386-mswin32]
>
> I ran my own test from within IRB, and it does, in fact, speak the
> words. So it works despite the test failures. I just thought I'd let
you
> know.
>
>
> Joey
I didn't forget you Joey!
I just tried this on my Win XP Pro SP1 box with SAPI 5.1 and did not
encounter this. So, either it's a SAPI 5.0 vs 5.1 issue (I'm not sure
what version you tested with), or you're missing a patch somewhere -
perhaps there was an update in win32ole.
Please try again and let me know. Thanks.
Dan