in reply to Re: Embed perl in C/C++
in thread Embed perl in C/C++

Thanks I tried that link before and followed the instructions. The problems start at #include <perl.h>, apparently Borland dosent like that header file. This was about a week ago so I cant rember the exact errors and warnings. What I do know is that I added the libs and header files I was supposed to. Thats why I asked specifically about windows, the example seems to be *nix biased. I wanted someone who actually did it before. Preferably with a non M$ compiler. Thanks again.

Replies are listed 'Best First'.
Re: Re: Re: Embed perl in C/C++
by Zaxo (Archbishop) on May 31, 2003 at 23:40 UTC

    The perl.h header file is part of the perl installation, it wouldn't be in the Borland distro. You need to add the location of the perl headers to the #include search path. On mine, that is in the perl library location at {version}/{platform}/CORE .

    After Compline,
    Zaxo