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

Hi,

I have a custom plug-in that I want to distribute across many different versions of Windows.

My question is, if I compile the plugin with VS2008, will I be able to simply distribute the resulting DLL file and have any recipients place it in their Personal Plugins folder? I've tried a couple of different versions so far and it seems to work fine but it's important that I be sure of this.

Thanks!

Ben

asked 13 Jul '12, 08:37

bblack's gravatar image

bblack
6113
accept rate: 0%


AFIAK the plugin must be compiled with the same compiler version as wireshark.

http://ask.wireshark.org/questions/12153/couldnt-load-modulespecified-module-cannot-be-found

Besides that, there should be not much you need to consider, as everything else (VC++ distributable, etc.) should be handled by wireshark. As soon as Wireshark runs on a windows version, and you compiled your plugin with the same compiler, your plugin should work on that platform as well.

HOWEVER: I'm not sure if there is a difference in the way how 32/64 bit builds of wireshark load plugins. So you might have to provide both a 32 and a 64 bit version of your plugin (just guessing!!!).

Regards
Kurt

permanent link

answered 16 Jul '12, 12:37

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

As Kurt says, the plugin DLL must be compiled with the same version of Visual Studio as Wireshark, the actual dependency is the C run-time library used by both items.

Wireshark and the DLL must use the same number of bits, a 32 bit Wireshark cannot load a 64 bit DLL and vice versa.

Unfortunately the plugin interface isn't guaranteed to remain compatible, so you may have to provide different DLL's for different versions of Wireshark. The easy way around this is to submit your plugin to the project and have it included in every copy of Wireshark with no further effort.

(16 Jul '12, 14:03) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×254
×173

question asked: 13 Jul '12, 08:37

question was seen: 2,818 times

last updated: 16 Jul '12, 14:03

p​o​w​e​r​e​d by O​S​Q​A