diff options
author | Miguel de Icaza <miguel@gnome.org> | 2005-09-23 21:42:03 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2005-09-23 21:42:03 +0400 |
commit | c6f96ae0040df35af31eaac28fe391adbaf71a5e (patch) | |
tree | 6f9513e8d34609b3da7b94f415f3656e09211ce9 /samples | |
parent | 5b8fa5de7e65653cec496810f1069b5215581631 (diff) |
Update sample to load the Mono configuration file
svn path=/trunk/mono/; revision=50597
Diffstat (limited to 'samples')
-rw-r--r-- | samples/embed/teste.c | 7 |
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. |