On 12.11.2015 13:52, Jonathan Mitchell wrote:

On 12 Nov 2015, at 12:41, Julian Mayer <jul...@corecode.at> wrote:

i didn't list any specific crash, because i tried in a million different ways 
and got a different crash each time.

i've solved this now. it seems, a unmanaged thunk takes a hidden additional 
parameter, MonoException ** which can't be NULL. of course this isn't 
documented anywhere.

This I feel is a real problem for the embedded API as it is.
The above is documented in the source, but not in the header.
Source comment documentation is fine for the source authors but it leaves 
consumers out in the cold.
The long and the short of it is that you really need to have the Mono embedded 
source to hand at all times even if you don’t build you own Mono.

In the past, the source code comments were picked up by some
$TOOL and then published under some $URL of mono-project.com
by a $PERSON (with $PERSON == Miguel, IIRC).

However, my thunk docs were never published for some reasons :(
This probably also means that almost nobody is using these
almost 5-8 years old APIs.

If you have questions about this API area, feel free to
ask on this list. I'll do my best to answer them, if I
can recall ;)

Robert


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to