in reply to Embed perl in C/C++

See perlembed. You may have difficulty with your compiler butting heads with the compiler used to build perl.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: Embed perl in C/C++
by whiteperl (Scribe) on May 31, 2003 at 23:15 UTC
    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.

      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