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

Changes required to make plugins developed for 32-bit version to work with 64-bit version?

0

I have developed plugins for Wireshark 2.2.3 32-bit version. But when I use the same .dll files in the 64-bit version of Wireshark-2.2.3 it doesn't work. Please help me with this.

asked 17 Jan '17, 05:17

chirag's gravatar image

chirag
11448
accept rate: 0%

Recompile the code?

(17 Jan '17, 05:36) Jaap ♦

Are there any additional changes to the code required?, other than recompiling?

(17 Jan '17, 05:51) chirag

If you programmed it clean there should not be. The compilation will tell you.

(17 Jan '17, 06:24) Jaap ♦

Don't assume that a pointer will fit into an int or an unsigned int (or any types that are equivalent, such as gint or guint).

Don't assume it will fit into a long or an unsigned long (or any types that are equivalent, such as glong or gulong), either. It won't, on Windows.

(17 Jan '17, 13:18) Guy Harris ♦♦

... and all other advice as found in README.developer

(17 Jan '17, 13:55) Jaap ♦

Thanks Guy and Jaap for the comments. I will compile and make changes accordingly.

(17 Jan '17, 22:44) chirag
showing 5 of 6 show 1 more comments