[Mono-devel-list] .export Directive in IL

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Wed Jun 29 10:26:31 EDT 2005


Hello All,
	I know that mixed mode assemblies are not supported under Mono
(at least in the managed/unmanaged C++ sense). There is an older article
(I've listed the link below) that demonstrates how to call managed
functions from unmanaged code using some IL hacking. This is working
fine under MS/.Net, and functions somewhat under Linux/Mono. I can run
the assembly normally under Mono with the changes demonstrated, but am
having trouble calling the function from unmanaged code. I can
successfully load the dll in C++, but cannot find the entry point. I
then noticed that the function was not being exported (which explains
why I can't find it). Is the .export directive in IL not supported under
Mono, or does my problem lie somewhere else?

http://www.csharphelp.com/archives3/archive500.html

Thanks All,
Jonathan





More information about the Mono-devel-list mailing list