[Mono-devel-list] Embedding Mono

Alain.Frisch at ens.fr Alain.Frisch at ens.fr
Wed Oct 22 11:57:29 EDT 2003


I'm interested in embedding Mono.

Several questions:

- AFAIK, there is no "standard" embedding API for .NET such as JNI for
  Java; so Mono has to define its own. Is it correct?

- Such an API has not been designed yet, in particular one has to extract
  from Mono source code one of the different ways to retrieve a method.
  What is the priority of designing and implementing a documented API?
  Is it something I can expect in the near future, or is it low
  on the priority list?

- the embedded-api doc mentions examples in a "mono/sample/embed"
  directory. I can find only a "mono/samples/embed" directory,
  with a single example. Are there other samples?

- Moreover, I don't succeed in building this sample. When I "mcs test.cs",
  the compiler first issues a warning
    cant resolve internal call to "MonoEmbed::gimme()"
  and then fails with:
    Your mono runtime and corlib are out of sync.
    Corlib is: test

  I can build regular C# programs (without internal calls).
  mcs --version returns; it was freshly installed through
  red carpet (rpm -q mono => mono-0.28-1.ximian.6.1).

  Any idea what I'm doing wrong?



More information about the Mono-devel-list mailing list