[Mono-dev] Novice in embeding Mono

Lucifer luciferjeng at x-legend.com.tw
Mon Aug 21 05:06:21 EDT 2006


Hi all,

 

I'm new to Mono and unfamiliar with gcc compiler. Now I'd like to embed Mono
runtime into my application.

However, how can I specify the search path of runtime-dependent
DLLs(mscorlib.dll) for my application?

I've compiled my application with gcc as following command:

gcc sample.c `pkg-config --cflags --libs mono`

But when I start the program, it requests the 'mscorlib.dll' from the path
'C:/cygwin/tmp/install/lib\mono\2.0\'.

How can I specify the path so that it is in the same path with my
application EXE?

 

Thanks for help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060821/0cbfd5b2/attachment.html 


More information about the Mono-devel-list mailing list