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: References to both cygwin1.dll and msvcrt.dll


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


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