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?
Kevin Spencer - 25 Oct 2007 12:26 GMT
Put the methods into a class library and make them public.

Signature
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
> 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?
Ignacio Machin ( .NET/ C# MVP ) - 25 Oct 2007 15:50 GMT
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.

Signature
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
> 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?