Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 27 Sep 2004 09:18:56 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Patrick Samson cc: cygwin AT cygwin DOT com Subject: Re: References to both cygwin1.dll and msvcrt.dll In-Reply-To: <20040927105959.3426.qmail@web60310.mail.yahoo.com> Message-ID: References: <20040927105959 DOT 3426 DOT qmail AT web60310 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Mon, 27 Sep 2004, Patrick Samson wrote: > I use a dll which have references to both > cygwin and m$: > $ cygcheck /usr/share/tcl8.4/dp4.0/win/dp40.dll > D:/cygwin/usr/share/tcl8.4/dp4.0/win/dp40.dll > D:\cygwin\bin\tcl84.dll > C:\WINNT\System32\ADVAPI32.DLL > C:\WINNT\System32\ntdll.dll > C:\WINNT\System32\KERNEL32.dll > C:\WINNT\System32\USER32.dll > C:\WINNT\System32\GDI32.dll > C:\WINNT\System32\RPCRT4.dll > D:\cygwin\bin\cygwin1.dll <------------- > C:\WINNT\System32\msvcrt.dll <------------ > C:\WINNT\System32\WS2_32.DLL > C:\WINNT\System32\WS2HELP.dll > > Should I suspect this to be a possible source of trouble? Or does it > mean nothing? Depends. Usually, this results in some sort of trouble, mostly because of the separate parallel stdio, malloc, etc implementations. You may be able to get away with it for a while if none of the msvcrt functions are actually called, but it may come back and bite you in the future. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/