This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

64 bit plugins on portable wireshark

0

If I compile custom plugin on Windows 64 bit, can I use this plugin on portable Version of wireshark? Thanks

asked 28 Oct '16, 01:58

xaheen's gravatar image

xaheen
71141519
accept rate: 50%


One Answer:

1

Unfortunately no. The portable version is 32 bit, as this allows it to run on both 32 and 64 bit OS's.

answered 28 Oct '16, 02:02

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

1

Note that on Windows 64 bits, you can still copile a 32 bits version of Wireshark. This plugin would be compatible with Wireshark portable.

(28 Oct '16, 02:18) Pascal Quantin

Thanks a lot. I just needed this Information. :)

(28 Oct '16, 02:39) xaheen

Ah, I slightly misread the question, @Pascal Quantin is correct that for Windows, you can build both 32 bit and 64 bit Wireshark on either 32 bit or 64 bit of the OS, as Visual Studio provides a cross-compiler.

(28 Oct '16, 03:10) grahamb ♦

so, can I compile wireshark for 32bit Environment on Windows 64bit operating System? So that I can get 32bit plugin.

(28 Oct '16, 06:33) xaheen
1

Sure, I do that all the time (compile that is), should be all detailed in the Developers Guide.

Basically set the env var WIRESHARK_TARGET_PLATFORM to "win32", and download and install a 32 bit Qt and then point the env var QT5_BASE_DIR to the 32 bit Qt. You can have 32 and 64 bit Qt installed at the same time, but in different directories.

Finally, open the appropriate Visual Studio command prompt.

(28 Oct '16, 07:00) grahamb ♦

Thanks a bunch :)

(28 Oct '16, 07:06) xaheen
showing 5 of 6 show 1 more comments