Wireshark-dev: Re: [Wireshark-dev] WS_DLL_PUBLIC only works for files with registered protocols
From: Guy Harris <[email protected]>
Date: Thu, 2 May 2013 09:46:14 -0700
On May 2, 2013, at 9:14 AM, Neil Piercy <[email protected]> wrote:

> The WS_DLL_EXPORT mechanism

Presumably you mean WS_DLL_PUBLIC?

> seems to only actually export the symbols in libwireshark.dll from files (in epan/dissectors) that contain registered protocols: files which contain pure helper functions (to share amongst several plugins) do not get those functions exported (but they are in the .lib).

Do the header files declaring only pure helper functions include "ws_symbol_export.h"?

If not, the correct answer may be that they need to be changed to do so.