From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: dll initialization 6 Nov 1998 04:51:28 -0800 Message-ID: <01BE0956.952F6020.cygnus.cygwin32.developers@sos> Cc: "'cygwin32-developers AT cygnus DOT com'" Mumit Khan wrote: > I'm out of my depth here, so someone else will have to figure out how the > innards can be "initialized" multiple times without running into this > problem. We *have* to fix this in the long run, so might as well start > now. Cygwin.dll initialization should be performed in two steps: 1. Main initialization (not depend from user_data) performed by dll entry point. 2. Initialization depend of user_data, performed by application's starup code. > non-cygwin DLLs from cygwin and non-cygwin apps). My apologies for the > time you've probably had to waste tracking this down. > It tooks 10 minutes only to understand the problem :-) -- Sergey Okhapkin, http://www.lexa.ru/sos Piscataway, NJ