With the help of Tony Juckel and Charlie the basic functionality of
win32ole is working. I'm in the process of adding the MRI/test/
win32ole dir to this Jacob project and fleshing out the rest of the
impl. Feel free to pitch in.
Brian
On Mar 5, 2010, at 11:33 AM, Charles Oliver Nutter
<head...@headius.com> wrote:
On Fri, Mar 5, 2010 at 10:44 AM, Joseph Athman <jjath...@gmail.com>
wrote:
As far as the FFI version goes, I must say that I don't really know
where to
start. I'm trying to understand what's happening in the
Win32API.rb and
samples/ffi rb files, but I must say they are pretty cryptic to
me. If I've
never done C programming before will I be pretty lost? I certainly
don't
want to ask for so much help that one of you might as well be doing
it for
me, but if someone could explain more of what's happening in one of
these
files that might get me a long ways.
I think the author of that win32/ole library you point out below
(Daniel Berger) does have an FFI version of it somewhere too, but I
don't know where.
FFI definitely requires some knowledge of C, since you'll have to
understand how the functions get bound and how arguments are passed
and the size and shape of structures. If you really don't know C at
all, you'd probably be better off helping on the Jacob version.
Also, I was going some googling and I found that someone has been
working on
a pure ruby version of this library http://github.com/djberg96/pr-win32ole
.
I tried installing and using it but I had a problem. It looks
like a
pretty monstrous piece of ruby, but would this be better than FFI
or Jacob
if it worked?
It appears that pr-win32ole depends on his win32-api library which
uses a native extension to Ruby, so that's unfortunately out. If he
has an FFI backend somewhere, that might be workable.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email