C++ Wrapper for Ruby

I am trying to write some open source plugins for FileMaker Pro, but
I’d rather write them in Ruby rather than C or C++ which is what
FileMaker requires.

Someone else has written a C++ wrapper for Java to do what I’m doing,
but there isn’t one for Ruby. Anyone interested in looking at an
example document describing the FileMaker plugin API and helping me?

No pressure. :slight_smile:

Sincerely,

Chris K.
President, Founder

Application Architects

1-888-896-4608 (Ph/Fax)
1-202-280-2042 (Int’l Ph/Fax)

Certified FileMaker Developer
FileMaker Business Alliance (FBA) Member

FDA, Part 11, GxP, HIPAA and SOX Compliance Experts

Chris K. wrote:

I am trying to write some open source plugins for FileMaker Pro, but
I’d rather write them in Ruby rather than C or C++ which is what
FileMaker requires.

Use rb++ or Rice to make C++ extensions for Ruby:

http://rbplusplus.rubyforge.org
http://rice.rubyforge.org

There is also SWIG for making C extensions:

http://www.swig.org

RubyInline might also be applicable:

http://www.zenspider.com/ZSS/Products/RubyInline/

Anyone interested in looking at an
example document describing the FileMaker plugin API

No. That’s what computers (running SWIG) are for. :wink:

Chris K. wrote:

I am trying to write some open source plugins for FileMaker Pro, but
I’d rather write them in Ruby rather than C or C++ which is what
FileMaker requires.

Swig should work, just make sure you have a recent version (earlier
versions didn’t work as well with Ruby). You might check out the
rbplusplus project as well:
http://github.com/jameskilton/rbplusplus/tree/master

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs