https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5420
Summary: can NOT load wpcap.dll & packet.dll is put these dlls
into same dirs as wireshark.exe
Product: Wireshark
Version: 1.4.1
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Major
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: wuchh.79@xxxxxxxxxxx
Build Information:
Version 1.4.1
Copyright 1998-2010 Gerald Combs <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.16.6, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Nov
17 2010), with AirPcap.
Running on Windows XP Service Pack 3, build 2600, without WinPcap, GnuTLS
2.8.5,
Gcrypt 1.4.5, without AirPcap.
Built using Microsoft Visual C++ 9.0 build 30729
Wireshark is Open Source Software released under the GNU General Public
License.
Check the man page and http://www.wireshark.org for more information.
--
currently wireshark can NOT load winpcap dynamic libraries from same dir as
wireshark.exe exist,
wireshark capture can worked OK if winPcap DLLs is installed into
c:\windows\system32.
If I put the wpcap.dll & packet.dll into same wireshark dirs,
it can NOT load these libraries.
----------------
in "wsutil/file_util.c":
function init_dll_load_paths()
/* XXX - Duplicate code in filesystem.c:init_progfile_dir */
if (GetModuleFileName(NULL, path_pfx, MAX_PATH) == 0 || GetLastError() ==
ERROR_INSUFFICIENT_BUFFER) {
return FALSE;
}
if (!program_path) {
program_path = g_utf16_to_utf8(path_pfx, -1, NULL, NULL, NULL);
}
### this "path_pfx" is the full path name with filename(wireshark.exe)
included,
----------------
in "wsutil/file_util.c":
ws_load_library(gchar *library_name) {
full_path = g_module_build_path(program_path, library_name);
### here load library for wpcap.dll/packet.dll would failed,
if we put these dlls into same dirs as wireshark in.
This is important for me, since I can NOT install winPcap on some special
machine, but I need wireshark working with pipe mode capture.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.