Gary R. Van Sickle wrote:
> Arend-Jan Westhoff writes:
I cannot confirm your assertion that msvcrt.dll and
cygwin1.dll cannot be used together.
The Gary Exclusion Principle: Two C runtimes cannot occupy the same point
in space at the same moment in time.
The problem here is that unfortunately they *can* occupy the same point
in space at the same time, with the same bad effects as in science
fiction movies when one object materializes in the middle of another :-).
The problem is that, for instance, some of your malloc calls will link
to the cygwin libc, while others (from within the Windows DLLs) will
link to MSVCRT, and if you free the pointer with the "other" library,
terrible things will happen.
--
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/