[Mono-list] P/Invoking C++ from mono

Kala B kalabalun at gmail.com
Fri Aug 5 07:25:41 EDT 2005


Hi,
When we P/Invoke a function defined as extern "C" in a C++ library,
would P/Invoke from mono work only if that function does not call any
other C++ function? (basically which has a symbol name decorated by
the C++ compiler with all name mangling)

Do all the functions that the P/Invoked function call need to be extern "C"? 

Thanks & Regards
Kala B.


More information about the Mono-list mailing list