Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/embed/teste.c7
1 files changed, 7 insertions, 0 deletions
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.