[plt-scheme] Interfacing with C++ code

From: Paulo J. Matos (pocm at soton.ac.uk)
Date: Mon Mar 3 16:36:15 EST 2008

On Sun, Mar 2, 2008 at 12:48 AM, Filipe Cabecinhas <filcab at gmail.com> wrote:
> Hi
>  I'm almost giving up on trying to interface DrScheme with a COM
>  component (there are methods that receive arrays with doubles but
>  Mysterx only creates arrays with VT_VARIANT elements), so I'm thinking
>  about turning to the next possibility, which is C++.
>  But in the docs I only found how to interface with C. To interface
>  with C++ must I use the C stuff and build from there? Or is there
>  another way?

That's it. You can always build a C wrapper to C++ functions and then
go from C to Scheme.
As said, you can also use SWIG (very good alternative).

>  Maybe I can also write an extension to MysterX or create my special
>  purpose "MysterX variant" that does what I want.
>  Any hints on where to turn my attention?
>  F
>  P.S: What is today's easter egg about? ;-)

Texas Independence Day!

Paulo Matos

>  _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Paulo Jorge Matos - pocm at soton.ac.uk
PhD Student @ ECS
University of Southampton, UK
Sponsor ECS runners - Action against Hunger:

Posted on the users mailing list.