[Mono-list] Using AOT to create 32 bit Windows DLL

Vincenzo Dentamaro vincenzodentamaro at gmail.com
Mon Sep 3 09:02:05 UTC 2012

Hi to everyone.
I am Vincenzo Dentamaro from Johnson Controls Europe.

I have the need to develop static 32 bit DLL for windows xp embedded and
Windows CE.
We usually develop these libraries in C++ or C. But I would like to use C#
to develop these
Is it possible to create a platform specific  DLL (not a .NET Assembly)
with Mono Ahead Of Time compilation ?

If yes, how can I export a method of the DLL to be invoked by external
programs ? I mean to sign a method as "external" like this  example in C++
extern "C" EXPORT CProva* DLL_CProva_int_int_int(int x1, int y1, int z1)


	CProva *c = new CProva(x1, y1, z1);

	return c;

Thank you all


  *Vincenzo Dentamaro*
Software Engineer
Systems Integration Services Europe & Africa
Building Efficiency
Mob: +39 334 5291911
E-mail: Vincenzo.Dentamaro at jci.com
Internet: www.johnsoncontrols.com

*Johnson** Controls*
Building Efficiency
Via Manzoni 44
20095,Cusano Milanino

Johnson Controls Systems & Service - Italy srl, a company registered in
Italy. Registered office: 44 Via Manzoni, Cusano Milanino (Milan), 20095,
Italy. Registered number: 293347. For further details please click here.

This email transmission may be confidential and is intended solely for the
person or organisation to which it is addressed. If you are not the
intended recipient, you must not copy, distribute or disseminate the
information, or act in reliance upon it. Any views expressed in this
message are those of the individual sender, except where the sender
specifically states them to be the views of any organisation or employer.
If you have received this message in error, do not open any attachment but
please notify the sender and delete this message from your system. This
email may be covered by legal, professional or other privilege. Please rely
on your own virus check as no responsibility is taken by the sender for any
damage arising as a result of any virus or similar infection contained
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120903/9d8a1533/attachment-0001.html>

More information about the Mono-list mailing list