Wireshark-dev: Re: [Wireshark-dev] Call register_stat_menu_item from a plugin

From: "Alistair Evans" <evans_alistair@xxxxxxxxxxx>
Date: Thu, 18 Nov 2010 19:49:33 -0000
Thanks for the replies.  I did read up on the statistics tree functionality, but since I need full control over the form (I am trying to display the “last transmitted state” of a protocol, with each subsequent packet representing the current state), I didn’t think it was suitable, since it only provides a tree-based structure.
 
Stephen, I did try to link in the libraries that you mentioned, however that yielded the same linker errors as before, a few of them (of 239!) are:
 
libui.lib(ldap_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(gtp_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(fc_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(diameter_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(rpc_progs.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(radius_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(mgcp_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(megaco_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(smb2_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(sip_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
libui.lib(scsi_stat.obj) : error LNK2001: unresolved external symbol _cf_retap_packets
 
I’m building this on windows, could that alter the required libraries?
 
To be honest, adding an item to the Statistics menu isn’t absolutely required, I just need some way to launch this window when someone clicks ‘something’ on the form.
 
Regards