Ethereal-dev: Re: RE : [Ethereal-dev] Re: Building Etheral with MSVC++ 7

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: Sat, 27 Sep 2003 12:42:21 -0000
On Fri, 2003-09-26 at 18:13, Laurent Rabret wrote:
Mike, 
I remember I had exactly the same error using MSVC++7... Be confident, a
correct version of Ethereal working with the standard dynamic lib can be
produced by this compiler (I use Ethereal compiled with VS.NET (debug
and retail) for about 2 years now). 
I didn't investigate why but it seems to be important Zlib, wiretap and
ethereal use the same standard lib. Please check what these modules call
(with depends or dumpbin) and build a consistent association. When done,
you'll see your problem vanish. 
Regards 
Laurent 

It's important because the C library implements file descriptors. So if
your executable is using file descriptors in C library "A" and a DLL is
using file descriptors from C library "B", then those file descriptors
don't correlate, so the executable and DLL can't share file descriptors.
One part of the program will create a file descriptor, another part will
try to read from it, and the program will die.

--gilbert