in reply to Perl and C++ interface

If your application is a separate process, you need some kind of IPC (shared memory, pipes or such - see perlipc). Perl can interface libraries via XS (see perlxs and perlxstut), but not a separate address space.

If you want to use perl from within that application, you need an embedded perl (see perlembed).

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^2: Perl and C++ interface
by Mj1234 (Sexton) on Oct 26, 2015 at 06:26 UTC
    Can Win32::OLE be used for interfacing?
      Depends on your C++ application :/
      first of all is it a C++ application or library?
      if it is a library,does it expose an Automation interface? (IDispatch)
        It is an application. No automation interface.