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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Call a function from DLL
by Cleware (Novice) on Jul 15, 2019 at 10:24 UTC | |
by GrandFather (Saint) on Jul 16, 2019 at 00:51 UTC |