What do I need to do ...

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
J

Jacek Jurkowski

to expse some methoods of my application
(exe) to other applications? When Im using
Win api or something in c# I'm using
[DllImport]. How to expose my methoods
to other applications may use [DllImports]
on that?
 
Put the methods into a class library and make them public.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 
Hi,

Create a library project (that output a dll). You can even make it accesible
to non .net programs if you mark it to support COM interop.
 

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