Win32-sapi example failed

Trying to run the example from win32-sapi.
It gives the following error (complete message in att.):
Dispatch.java:-2:in `createInstanceNative’:
org.racob.com.ComFailException: Can’t get object clsid from progid

I did install the jruby-win32ole gem.
Using jruby 1.5.6 and java 1.6.0_22 on windows 7 32bit.

The example works flawless in MRI 1.9.2.

Is win32-sapi usable with jruby?

Ah. I have never heard of the project until now. My next win32ole
sprint I will run through those tests and examples to make sure things
are working well. jruby-win32ole works well for the things that it
has been tested against, but it was a large API and I imagine there
will be an initial round of bugs where we run into data types which
were never tested against. The last sprint fixed a handful of bugs to
make virtualbox gem work.

-Tom

On Mon, Dec 27, 2010 at 7:02 AM, Durk B. [email protected] wrote:

http://xircles.codehaus.org/manage_email


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

I guess that sprint was right now :slight_smile:

jruby-win32ole 0.8.3 (just pushed) will make the example you tried to
run work. Please let me know if you run into any other issues…

-Tom

On Mon, Dec 27, 2010 at 9:14 AM, Thomas E Enebo [email protected]
wrote:

On Mon, Dec 27, 2010 at 7:02 AM, Durk B. [email protected] wrote:

http://xircles.codehaus.org/manage_email


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

The sapi-example works; problem fixed.
Many thanks for your quick reaction.
I tried to debug it myself, but it turns out to be not a trivial task.

-Durk