On Wed, Nov 27, 2002 at 06:48:35AM -0800, Joshua Daniel Franklin wrote: >--- Jan Beulich <[EMAIL PROTECTED]> wrote: >> Thanks for the answer, but you mainly missed the point: I want to dynamically >> load cygwin1.dll (if at all present on the system) and call a single function >> in it. The problem is not the process of loading the DLL and calling the >> function (I'm not a beginner after all), but the fact that plainly calling >> the intended function causes the process to crash due to uninitialized >> variables within cygwin1.dll. The question thus is - what function(s) do I >> have to call to initialize cygwin1.dll sufficiently? Thanks again, Jan > >Unfortunately, as far as DLL-loading is concerned, I am a beginner. >Does anyone know how to load cygwin1.dll dynamically (with the proper >initialization)?
I don't think it is possible, currently. I think dynamic linking to the cygwin DLL is broken. FWIW, I am not aware of anyone working on fixing this. cgf -- Please do not send me personal email with cygwin questions or observations. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/