"Furio Filoseta" <furifilo901 / cantv.net> wrote:
>
>Thanks to Wyss Clemens and Jonathan Conway for their suggestions !
>
>Now, WIN32OLE will solve the access-to-com part of the equation, but what 
>of
>building COM obejcts with Ruby ?

Different problem. :-)

>I should point out that so far I have only been a "consumer"  to COM, and I
>am not familiar with the innards.

Ditto.  What little I know about COM has been learned by
accident, and I have little interest in learning more.
So take what I say with a grain of salt.

>Someone pointed out that it may not be possible to do COM objects with Ruby
>because of its interpretive nature. I think it is possible because I have
>done COMs with Visual Foxpro which is also interpreted.

Being interpreted should not be a barrier.  In fact it is
possible to write a COM server in both Perl and Python.
The Perl implementation costs money, but you can buy it
from ActiveState.  The Python implementation is free.  I
would take the lack of a free Perl implementation as a
sign of lack of interest in the Perl world, not a sign of
how difficult it is to do.

If you want to do the same thing in Ruby, I would suggest
starting at:

http://www.python.org/windows/win32com/

and figuring out how the Python folks did it.

Cheers,
Ben
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com