none
Where is DLLMain in a C# DLL?

    Question

  •  

    I am writing a simple class library with C# that exports a class.  The DLL needs to do some initialization once a process loads it.  In the good old days of VC++ 6.0 (and Win32), you could rely on DLLMain to do that.  However, I can not find a counterpart to DLLMain in the .Net framework.  Any comments would be appreciated.

    Thanks

    Thursday, September 06, 2007 9:07 PM

Answers

All replies