Ruby and COM

1

11x22

Hmm.. Does anyone know of a stable Ruby-COM bridge which will let one do
things like importing DLLs, querying for interfaces and calling their
methods? Is there anything stable available out there?

Or at least a possibility to call C++ code from Ruby resolving all this
CoInitilize(), STA and so on stuff?
 
R

Robert Klemme

Hmm.. Does anyone know of a stable Ruby-COM bridge which will let one do
things like importing DLLs, querying for interfaces and calling their
methods? Is there anything stable available out there?

Or at least a possibility to call C++ code from Ruby resolving all this
CoInitilize(), STA and so on stuff?

There are some libs:
http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Win32

See also
http://www.google.com/search?q=ruby+win32

I haven't used any of those but you can find examples by searching the
archives of this newsgroup / mailing list.

Kind regards

robert
 
P

Patrick Hurley

For just DLL, look no further than DL (in the standard library), for
OLE (a COM ancestor), check out Win32OLE (also in the standard
library). I have used both in the past.

Good luck
pth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,234
Messages
2,571,180
Members
47,813
Latest member
RustyGary3

Latest Threads

Top