Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl and C++ interface

by shmem (Chancellor)
on Oct 26, 2015 at 06:15 UTC ( [id://1145919]=note: print w/replies, xml ) Need Help??


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?
      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.
      Depends on your C++ application :/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1145919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found