Hi list,
I've been trying to import some of the true_false strings provided by
libwireshark.dll into a plugin, but can't get the compiler to grock it.
Here's the relevant code snippet from my source file.
#include
#include
static hf_register_info hf[] =
{
{ &hf_lap_p,
> -Ursprüngliche Nachricht-
> Von: Developer support list for Wireshark
> Gesendet: 28.02.07 16:34:26
> An: Wireshark Developer mailinglist
> Betreff: [Wireshark-dev] Importing initializers in plugins on Win32
> Hi list,
>
> I've been trying to import s
Ulf Lamping wrote:
> AFAIK, this is caused as the compiler cannot know the size of this.
> So you *can* use this value inside the plugin (e.g. using val_to_str),
> but you cannot use it to *initialize* the hf_register_info.
It shouldn't need to know the size, as you're just taking the address of