[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

C++ Wrapper for Ruby

Chris Kubica

8/2/2008 5:22:00 AM

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. :)

Sincerely,

Chris Kubica
President, Founder

Application Architects

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

http://www.applicati...

Certified FileMaker Developer
FileMaker Business Alliance (FBA) Member

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


2 Answers

Suraj Kurapati

8/2/2008 6:42:00 AM

0

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.rub...
http://rice.rub...

There is also SWIG for making C extensions:

http://ww...

RubyInline might also be applicable:

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

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

No. That's what computers (running SWIG) are for. ;-)
--
Posted via http://www.ruby-....

Joshua Ballanco

8/2/2008 7:29:00 AM

0

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/t...
--
Posted via http://www.ruby-....