projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b8fa5d
)
Update sample to load the Mono configuration file
author
Miguel de Icaza
<miguel@gnome.org>
Fri, 23 Sep 2005 17:42:03 +0000
(17:42 -0000)
committer
Miguel de Icaza
<miguel@gnome.org>
Fri, 23 Sep 2005 17:42:03 +0000
(17:42 -0000)
svn path=/trunk/mono/; revision=50597
samples/embed/teste.c
patch
|
blob
|
history
diff --git
a/samples/embed/teste.c
b/samples/embed/teste.c
index f3400a046d1722e7876b8c32f301ccc1f8d0b193..d6a7b8381a18e7c6899ef76ea1df2681bee5f011 100644
(file)
--- 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.