From c6f96ae0040df35af31eaac28fe391adbaf71a5e Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 23 Sep 2005 17:42:03 +0000 Subject: Update sample to load the Mono configuration file svn path=/trunk/mono/; revision=50597 --- samples/embed/teste.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'samples') diff --git a/samples/embed/teste.c b/samples/embed/teste.c index f3400a046d1..d6a7b8381a1 100644 --- a/samples/embed/teste.c +++ b/samples/embed/teste.c @@ -43,6 +43,13 @@ main(int argc, char* argv[]) { return 1; } file = argv [1]; + + /* + * Load the default Mono configuration file, this is needed + * if you are planning on using the dllmaps defined on the + * system configuration + */ + mono_config_parse (NULL); /* * mono_jit_init() creates a domain: each assembly is * loaded and run in a MonoDomain. -- cgit v1.2.3