tags:

views:

537

answers:

1

Is there an equilivant to DllRegisterServer for C# dll's? I am creating a COM component and I would like to have some custom code run when I regasm the dll.

+2  A: 

I stumbled on ComRegisterFunction: http://www.google.com/search?q=ComRegisterFunction

I can't find any documentation on it, which is a little disconcerting, but it appears to be useful for cases like these.

Let us know if it works out.

Kim Gräsman
I havent had a chance to try this out yet, but thank you for the information. It looks as if it should work.
Zenox