Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

custom C/C++ plugin will not load - no indication why

I inherited a custom dissector written in C & C++ from a former coworker. Basically it decodes our internal protobuf messages and a few other internal custom formatted messages. Short of it is, my plugin is not loading, and I'm not receiving any errors or indication that it's trying.

I'm building on 64-bit Windows 10 with VS2015 Professional. I following the build instructions here to build Wireshark 2.9. I also built protobuf 3.5.1 as a DLL. I reconfigured my dissector to utilize all of the libs that my WS build pulled down and configured. I placed my plugin DLL & the protobuf DLLs in ./run/RelWithDebInfo/plugins/2.9/mydissector.

After all of this, I run WS from ./run/RelWithDebInfo/Wireshark.exe. When I go to the menu Help -> About Wireshark, and select the Plugins tab, I do not see my plugin listed.

I've scoured the documentation, but I don't see any indication of how to go about debugging or tracing this.

Is there a way to turn on some logging or tracing to determine what DLLs WS considered and if/why a DLL was not loaded? I've not found a way to configure it to load a particular plugin DLL and force a report of an error.

custom C/C++ plugin will not load - no indication why

I inherited a custom dissector written in C & C++ from a former coworker. Basically it decodes our internal protobuf messages and a few other internal custom formatted messages. Short of it is, my plugin is not loading, and I'm not receiving any errors or indication that it's trying.

I'm building on 64-bit Windows 10 with VS2015 Professional. I following followed the build instructions here to build Wireshark 2.9. I also built protobuf 3.5.1 as a DLL. I reconfigured my dissector to utilize all of the libs that my WS build pulled down and configured. I placed my plugin DLL & the protobuf DLLs in ./run/RelWithDebInfo/plugins/2.9/mydissector.

After all of this, I run WS from ./run/RelWithDebInfo/Wireshark.exe. When I go to the menu Help -> About Wireshark, and select the Plugins tab, I do not see my plugin listed.

I've scoured the documentation, but I don't see any indication of how to go about debugging or tracing this.

Is there a way to turn on some logging or tracing to determine what DLLs WS considered and if/why a DLL was not loaded? I've not found a way to configure it to load a particular plugin DLL and force a report of an error.