[Mono-list] NullReferenceException when calling thunk

Robert Jordan robertj at gmx.net
Wed Jan 23 21:05:08 UTC 2013


On 23.01.2013 20:57, Robert Jordan wrote:

> Yes, 'extern "C"' is a must. You may need to add
>
>      -Wl,--export-dynamic
>
> to your cflags when compiling the main program. This will instruct
> the linker to export all public symbols as if the program where
> a library.

It should read "were a library" ;)

Robert





More information about the Mono-list mailing list