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

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Wed Jun 29 11:25:51 EDT 2005


It seems that the Mono ilasm is ignoring the .export directive. Is this
intentional?

Thanks Again,
Jonthan

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Jonathan
S. Chambers
Sent: Wednesday, June 29, 2005 10:27 AM
To: Mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] .export Directive in IL

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


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list





More information about the Mono-devel-list mailing list