Skip to content

Commit

Permalink
Update sample to load the Mono configuration file
Browse files Browse the repository at this point in the history
svn path=/trunk/mono/; revision=50597
  • Loading branch information
migueldeicaza committed Sep 23, 2005
1 parent 5b8fa5d commit c6f96ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions samples/embed/teste.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c6f96ae

Please sign in to comment.