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 Kubica
President, Founder

Application Architects

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

http://www.applicationarch.com

Certified FileMaker Developer
FileMaker Business Alliance (FBA) Member

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

Chris Kubica 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:

  rubyinline | software projects | by ryan davis

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

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

路路路

--
Posted via http://www.ruby-forum.com/\.

Chris Kubica 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

路路路

--
Posted via http://www.ruby-forum.com/\.