[Mono-osx] Invoke an api using .so library

mickeyf mickey at thesweetoasis.com
Wed Aug 7 20:25:34 UTC 2013


You have not shown how you are actually referencing or calling the dll. You
of course included something like

[DllImport("lib_vig_can.so")]
private static extern int d_set_params(string CanIF, int pWrtCanDataToMain,
int pWrtErrDataToMain, int pWrtErrMsgToMain );

You should only need to reference the dlls in a config file if you need to
map their names, not simply to use them if the name or location does not
change.



--
View this message in context: http://mono.1490590.n4.nabble.com/Invoke-an-api-using-so-library-tp4660467p4660470.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list