[Mono-dev] Trying to build embedded samples on VS 2005
robertj at gmx.net
Thu Mar 19 09:40:51 EDT 2009
> Robert Jordan wrote:
>> You must be confusing something. The embedding API does not
>> require mono's sources. The official binary installer for Windows
>> is installing the header into the correct location.
> Most probably, thnx. The dependencies in the VS solution threw me off.
> Anyway, got it to compile and run but I get a stack smash when trying the
> test_invoke sample (function access_reference_field), when the utf16 to utf8
> converted string is released with g_free, the c++ runtime complains of stack
> corruption. That function g_utf16_to_utf8 is used all around mono, so I
> don't know yet why it crashes in access_reference_field...
This usually happens if the embedding application was not dynamically
linked against glib (or if it was linked against the wrong glib
version). How did you compile the sample?
More information about the Mono-devel-list