Exporting functions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to export functions in C#, so say an unmanaged C++ application
could call the functions? This question relates to making plugins for an
application written in C++ that has to call two functions in the plugin,
myplugin_version and myplugin_main. Is this possible in C#?

Thanks,
Chris
 
Is it possible to export functions in C#, so say an unmanaged C++ application
could call the functions? This question relates to making plugins for an
application written in C++ that has to call two functions in the plugin,
myplugin_version and myplugin_main. Is this possible in C#?

No. The only way to export functionality from C# to native C++ is via
COM interop.



Mattias
 
Back
Top