On 28 November 2012 18:20, Javier Pimás <elpochodelagente@gmail.com> wrote:
Just one thing, so that he doesn't lose hope so fast. :)
Maybe if he explains a bit of the context there's a better solution. Can you say what library you want to bind?
About binding C++, IF it's in a DLL, I wouldn't say that it's plain impossible, but that it depends mainly on how the dll is generated, as there are different degrees of compatibility between C++ and DLLs. As nativeboost let's you generate custom assembly, in theory it may be possible but in practice might be hard, you should be warned, and will require some low-level programming abilities.
My first question is if you are sure it's a C++ dll and not a plain C one?
You may want to read this to understand what you are dealing with first.
yes, your link is a nice description of a problem.. it shows that even connecting two different C/C++ modules, possibly compiled by different compilers, can be problematic.. Not saying about connecting C++ module with any other language.
Cheers, Javier
-- Best regards, Igor Stasenko.