The connection point between Mono and the library is the exported function
that is called using P/Invoke. The function itself can do anything you want
as the functions it calls are not called by Mono using P/Invoke. So you can
use C++ functionality in the funtcions called using P/Invoke.

Kornél

----- Original Message -----
From: "Kala B" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 05, 2005 1:25 PM
Subject: [Mono-list] P/Invoking C++ from mono


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.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to