From: DJ Delorie Subject: Re: dll initialization 05 Nov 1998 11:17:57 -0500 Message-ID: <3641CFB5.59E2@delorie.com> References: <01BE088E DOT 7128A560 DOT cygnus DOT cygwin32 DOT developers AT sos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22) Sergey Okhapkin wrote: > The dlls are initialized with DECLARE_CYGWIN_DLL. When system loads the > application, entry points of dlls are called first. At this time user_data Does cygcheck show this? It should show the DLLs in the order that Windows initializes them. I think calling a function in one DLL from an initializer in another DLL is risky anyway, MSDN talks about prohibiting nested initialzers and such.