From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: dll initialization 4 Nov 1998 15:55:34 -0800 Message-ID: <01BE081F.77F584E0.cygnus.cygwin32.developers@sos> To: "'cygwin32-developers AT cygnus DOT com'" Hi! Wed Oct 28 17:57:53 1998 Geoffrey Noer patch from Mumit Khan : * dll_init.cc (exceptions.h): Include. (dll_dllcrt0_1): New function to initialize Cygwin DLL guts properly when a non-Cygwin app uses the Cygwin DLL. (dll_dllcrt0): Call dll_dllcrt0_1 when user_data is NULL. Most X11 applications fails to run with this patch... If the application is linked with cygwin-compiled dlls, DllMain function of these dlls is called _before_ user_data is initialized by cygwin1.dll! This case the initialization of cygwin1.dll performed twice with unpredictable results. I had to remove this patch to run xterm, rxvt and Xemacs. -- Sergey Okhapkin, http://www.lexa.ru/sos Piscataway, NJ