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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top