Original Post
I have a class library that I use in my main application. Under .NET 1.1, it worked great. Under 2.0, I get a new exception: LoaderLock was detected Message: DLL 'D:\My Documents\Visual Studio 2005\Projects\SVS_Client\bin\Debug\SQLiteNET.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. Ooookay. What is this? How do I know when is an appropriate time to begin executing code from the assembly? SQLiteNET.dll does call non-managed code, maybe that has something to do with it. So much for breakless upgrading :-p ~BenDilts( void );