Newbie extension question

G

gregarican

I have coded natively in Ruby for almost a year now and feel very
comfortable with its intuitive and logical nature. When I am _not_
working on Ruby is when I start to lose that comfort. :)

Here's my question. I want to include some CTI methods with a CRM
application I've written in Ruby. The API for the CTI consists mainly
of a tsapi.h and tsapi.cpp fileset. That in turn brings in things like
a csta.h file and other things that I have sitting in the proper
directories. I can compile some sample C++ applications that work with
for CTI, but I want to be able to refer to things as Ruby methods in my
own CRM application.

What is the best way for a person new to this area to accomplish this?
I assume this would involve creating a Ruby extension? I have
downloaded SWIG but haven't delved into it yet. Also I have read a bit
in Pickaxe regarding creating C extensions. But I have no practical
model to work from.

Any suggestions?
 

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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top