Wireshark-dev: Re: [Wireshark-dev] Help Me To Solve The Problem

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 27 Apr 2010 00:21:20 -0400
Maybe you can try to use your debugger and place a breakpoint at an appropriate place in capture_info.c to try to figure out exactly why it's failing?

BTW, is there any particular reason why you're using 0.99.5 and Visual C++ 7.10?  You might try using VS2008EE as your compiler, as that's the one recommended in the online developer guide (http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html), and you might also try compiling and developing your plugin against a much newer version of Wireshark, such as the latest development version, 1.3.4, or the latest stable version, 1.2.7.

- Chris

________________________________
From: wireshark-dev-bounces@xxxxxxxxxxxxx [wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of lie zheng [lippzl@xxxxxxxxxxx]
Sent: Monday, April 26, 2010 9:43 PM
To: wireshark
Subject: Re: [Wireshark-dev] Help Me To Solve The Problem

Hi,
   Thanks a lot.  I will check the source file about wireshark. But I still don't understand that I build *the same source tree*
without my plug-in and it couldn' work.
And more about the development of my version is as follows:

Version 0.99.5-lipps123
Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx<mailto:gerald@xxxxxxxxxxxxx>> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GTK+ 2.10.7, with GLib 2.12.7, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1,
with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio
PortAudio V19-devel, with AirPcap.
Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.1
(packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), without AirPcap.
Built using Microsoft Visual C++ 7.10 build 3077
Wireshark is Open Source Software released under the GNU General Public License.
Check the man page and http://www.wireshark.org for more information.

Any suggestion, I would like it.

Thanks.

Lippman

> Date: Sun, 25 Apr 2010 16:05:06 -0600
> From: steve@xxxxxxxxxxxxxxxxxx
> To: wireshark-dev@xxxxxxxxxxxxx
> Subject: Re: [Wireshark-dev] Help Me To Solve The Problem
>
> On Thu, Apr 22, 2010 at 04:32:05PM +0800, lie zheng wrote:
>
> > One error dialog box which displayed some information " The file
> > "C:\DOCUME~1\zheng\LOCALS~1\Temp\etherXXXX" could not be opened for
> > some unknown reason." happend.
>
> This error message comes from capture_info.c under the case
> WTAP_ERR_CANT_OPEN for the variable err, which is being called from
> capture_info_new_file() in the same source file, which is probably being
> called from wiretap/file_access.c. There are numerous reasons
> capture_info_new_file would fail and return NULL; take a look at
> wiretap/.file_access.c and see if any of those could be the problem. My
> first guess would be a file permissions issue.
>
> What does your plug-in do? If you can build *the same source tree*
> without your plug-in and it works, then look at the plug-in. Don't
> compare a downloaded version of Wireshark to your local source tree
> minus your plug-in.
>
>
> --
> Steve
CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.