This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: no message or dialog when a DLL is missing


I've identified the reason why DLL don't show up: in the startup code (winsup/cygwin/dcrt0.cc), in dll_crt0_0(), Win32's SetErrorMode() is called to suppress all OS error dialogs. It's there since 1998 according to the changelog, so it must not bother many people... I guess it would be ugly to add error messages for missing DLLs all the way up from the low-level spawn/exec/etc.

And in it's usual nice design practice, SetErrorMode() is a global setting affecting all threads in the process, so changing it temporarily in the spawn()/exec() function could be bad.

--
Pierre Baillargeon
Innobec

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]