pokemon,
Assuming you have the interface defined as a ComImport in .NET, you can
implement it just like a .NET interface.
If you don't have the ComImport interface already (via an interop assembly
or some other .NET assembly), then either create an interop assembly from the
COM DLL or look at the interface definition in the IDL and manually create a
..NET interface that mimics it, something like this:
[ComImport]
[Guid("GUID_OF_INTERFACE")]
public interface IMyInterface
{
// Returns HRESULT
int Function1([In] int param1, [Out] out int param2);
}
Then implement it as a normal .NET interface.
Hope this helps.
Adam
[quoted text, click to view] "pokemon" wrote:
> Hi,
>
> I've looked all around but couldn't find any practical information on about
> how to implement a standart COM interface from managed code (I want to
> implement IFilterMessage Interface in my C# code)...
>