Hello folks, With strictly C#, yes, it is "no". But with a little help from IL[asm], you can, or at least that's what is said in the famous Inside IL book by Serge Lidin. Take a look.
Great book, Serge! Fumiaki Yoshimatsu On Fri, 12 Apr 2002 10:34:42 +0200, Thomas Tomiczek <t.tomiczek@THONA- CONSULTING.COM> wrote: >Normal - ys, via COM. > >Static - no. > > >Regards > >Thomas Tomiczek >THONA Consulting Ltd. >(Microsoft MVP C#/.NET) > > > >-----Original Message----- >From: JosEM. Nobre [mailto:[EMAIL PROTECTED]] >Sent: Freitag, 12. April 2002 10:02 >To: [EMAIL PROTECTED] >Subject: [DOTNET] Exporting C# methods to unmanaged world... > > >Hi... >Is there a way to export C# methods (probably, static method...) directly to the unmanaged world ? I mean... something like the old extern "C" from C++ ? > >My current solution is to have another DLL written in C++ that calls my assembly... :/ > >thanks in advance >jmn > >-- > ^ ^ > (o o) JosEManuel Nobre > (( v )) >----x-x------------------------------------------------------------------- -- >PragmaSis - Sistemas de Informação, SA >Pc. de Alvalade, 6 - 2 A2 >1700 - 036 Lisboa >Portugal > >Tel. +351 217 827 547 >Fax. +351 217 961 803 > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.