On Mon, 2006-09-25 at 15:18 -0700, Srikanth Chavali wrote:
> Hi,
>    I am trying to run a .exe file with mono on a linux system and i
> see the error:
> Unhandled Exception: System.EntryPointNotFoundException:Foo
> 
> Foo is defined in a .cpp file. The .exe does DllImport and Foo is the
> entry point in that function.

Is Foo() marked as `extern "C"'?

You can check by running `nm -D libyourlib.so' and checking that `Foo'
is one of the named exports, and not some mangled version.

 - Jon


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

Reply via email to