The following article says that the rule "dllMain must not access the CLR" is still in force in Visual C++ 2005 -- so I don't know that you can do anything useful there.
http://msdn2.microsoft.com/en-us/library/ms173266(vs.80).aspx Good luck.... At 05:01 AM 2/5/2007, Amrender Singh wrote (in part) >Thanks J, > >Thats exactly what I am doing at present, but maintainability is the problem >with this approach. This assembly continuously get extended, so need to find a >permanent solution. > >Any other suggestion. Has any one tried call using dllMain in mixed mode >assembly in dotnet 2. > >Btw I am using \CLR:OldSyntax crl. > > >[my msg snipped as it seems to have been reformatted to gibberish] J. Merrill / Analytical Software Corp =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com