[Israel.pm] re: calling perl script within mfc application (Itamar Elem)

roiem at actcom.co.il roiem at actcom.co.il
Wed May 19 11:36:42 PDT 2004


> hi
> 
> im writing mfc application(c++)
> which  run perl script(perlembed way)
> i faced problem when the script do
> use Module;
> 
> and Module is interface to some c module (XS or Swig) for example(Tk,Math::Trigo)
> 
> my prog crahed in this situation;
> if Module is neto perl no problem
> 
> do you know solution to that situation
> 
> thank alot
> itamar elem

Well, I've never done this myself, but if you "perldoc perlembed"
there's a section at the end called "Using Perl modules, which
themselves use C libraries, from your C program". Did you try whatever
it says there? (I don't really know what it says, just ermembered seeing
it there once)

Roie



More information about the Perl mailing list