>>675 ttp://msdn2.microsoft.com/en-us/library/ms682583.aspx >The entry-point function should perform only simple initialization or termination tasks. >It must not call the LoadLibrary or LoadLibraryEx function (or a function that calls these functions), >because this may create dependency loops in the DLL load order.