develooper Front page | perl.wxperl.users | Postings from April 2010

Converting wxRTCPrinting for accessing from Perl.

Thread Next
From:
Steve Cookson
Date:
April 5, 2010 10:29
Subject:
Converting wxRTCPrinting for accessing from Perl.
Message ID:
1F7858BA002A4A96A48301CDFB5CDBF5@SACWS001
Hi Guys,

I'm about to embark on converting richtextprint.cpp (706 lines of C++ with
light commenting) so that I can access it from Perl and print wxRTCs.  Can I
ask your suggestions as to the easiest way?  There seem to be four main
routes:

- rewrite entirely in Perl (for me, this is the least taxing but probably
most time consuming route);

- use Inline::CPP (not sure how reliable this module is.  It doesn't seem to
have been maintained since 2002 and I've had some difficulties installing
from CPAN);

- XSUB (I've no idea what this involves.  Maybe a bit of access code for
each method, there are about 13 of them.  I've read the doc, but I'm no
clearer.);

- SWIG, (seems like an automated XSUB, but again, having read the doc, no
light was shed!).

Really, I'd appreciate an experienced hand on my shoulder while I tackle
this.

Regards and many thanks in advance.

Steve



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About