[Mono-list] Mono interop

Ralph ralph.lessmann at crossmatch.com
Thu Mar 3 09:30:36 EST 2011


I just noted that when using a native function from a "so", the loader
routine might be confused by the loaded *.so.

Lets assume you have a.so with function bla() and you have b.so with
function bla(). 
Now you create 2 classes, 

  static bla()

  static bla()

It looks like when calling NativeMethodsA.bla() it works, but calling
NativeMethodsB.bla() seems to go to "a.so"

I'm running mono on Ubuntu 10.10. the same code works on windows without
that trouble. what do I miss?

View this message in context: http://mono.1490590.n4.nabble.com/Mono-interop-tp3333437p3333437.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list