[Mono-devel-list] P/Invoke and DLLs

Frank Bergmann frank_bergmann at kgi.edu
Mon Feb 7 20:48:27 EST 2005


Hello List, 

I've been using C# under win32 happily for quite some time. But since
mono has come quite a long way I think about using mono under OS X. That
of course goes along with a ton of questions:

- This one project I have requires wrapping a c - dll. Trying to execute
  this project resulted of course into a "System.DllNotFoundException".
I
  managed to compile this DLL under OS X so how do I tell mono to use
it?

- Under Win32 callback functions passed into a C-DLL require the
function to
  use _stdcall so my question would be what to use for OS X ... gcc
doesn't
  seem to know about __attribute(stdcall)__ ... so what do you use for
that

Thanks a bunch
Frank



More information about the Mono-devel-list mailing list