ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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: "Laurent Rabret" <laurent_rabret@xxxxxxxxxxx>
Date: Sat, 27 Sep 2003 16:05:08 +0200

Indeed, it is so obvious !! Thanks Gilbert for your insight.

Regards

Laurent

>From: Gilbert Ramirez
>To: Laurent Rabret
>CC: mike.moore@xxxxxxxxxxxx, rsharpe@xxxxxxxxxxxxxxxxx, Ethereal Development
>Subject: Re: RE : [Ethereal-dev] Re: Building Etheral with MSVC++ 7
>Date: 27 Sep 2003 07:42:16 -0500
>
>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
>


Protect your PC - Click here for McAfee.com VirusScan Online