Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Call a function from DLL

by GrandFather (Saint)
on Jul 15, 2019 at 08:18 UTC ( [id://11102857]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Call a function from DLL
in thread Call a function from DLL

Dealing with C++ (as opposed to C) function calls is something of a problem because the C++ compiler mangles function names to allow for function overloading and such C++ magic. Name mangling tends to be rather specific to individual C++ compilers as are calling conventions. You need some very specific information about the compiler you are using to even call the functions. Passing objects back and forth may either be easy (if you treat them as completely opaque objects) or potentially very complicated if you need to get involved in memory management and accessing parts of the object.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^4: Call a function from DLL
by Cleware (Novice) on Jul 15, 2019 at 10:24 UTC

    I would thank you for your reply, but acutely I have no idea to do that in Perl

    Do you have any suggestion?

    thanks in advance

      I don't have any helpful suggestions because getting the job done depends on very specific details of the compilers used for the code you are calling and possibly for the compiler use for compiling the Perl you are using. The details of the source for the code you are calling may also be important. There are too many variables for me to help without a lot more information, and possibly not even then.

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

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

    No recent polls found