Wireshark-dev: Re: [Wireshark-dev] Running extcaps from windows console
From: Dario Lombardo <[email protected]>
Date: Wed, 24 Aug 2016 16:29:30 +0200
Thanks, Pascal, it's more or less what I thought. I have also achieved the same result with

#> cd run\RelDebWithInfo (it's where wsutil.dll resides)
#> extcap\sshdump --help




On Wed, Aug 24, 2016 at 4:01 PM, Pascal Quantin <[email protected]> wrote:
Hi Dario,

2016-08-24 15:54 GMT+02:00 Dario Lombardo <[email protected]>:
I'm testing some new features of extcaps, and I'm trying to launch them from windows console.
The compilation of Wireshark.sln goes to the end and I'm able to launch run\RelWithDebInfo\wireshark.exe. But when I try to launch an extcap manually as run\RelWithDebInfo\extcap\sshdump.exe --help I get the following error: "The program can't start because libwsutil.dll is missing from your computer"
What's the part I'm missing?

If you want to run them manually, copy the executable in the upper level folder (wireshark.exe one). Wireshark is manually adding its installation path to the DLL search path when launching the extcap programs, something that does not happen when you launch them from the command line. Or I guess adding the folder to your PATH environment variable should work also (I have not checked this method though).

Pascal.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]wireshark.org?subject=unsubscribe