Skip to content
Browse files

Update sample to load the Mono configuration file

svn path=/trunk/mono/; revision=50597
  • Loading branch information...
1 parent 5b8fa5d commit c6f96ae0040df35af31eaac28fe391adbaf71a5e @migueldeicaza migueldeicaza committed Sep 23, 2005
Showing with 7 additions and 0 deletions.
  1. +7 −0 samples/embed/teste.c
View
7 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.

0 comments on commit c6f96ae

Please sign in to comment.
Something went wrong with that request. Please try again.