Wireshark-dev: Re: [Wireshark-dev] Using ptvcursor in a Plugin

From: "DeRosa, Anthony" <Anthony.DeRosa@xxxxxxx>
Date: Wed, 23 Jul 2008 14:00:58 -0400
Further clarification...my plugin that uses the ptvcursor API *does*
successfully load when using the wireshark.exe that I built, after
having added the ptvcursor API to libwireshark.def.  However, when I
drop my plugin.dll file into a standard installation of wireshark (not
built from source), the plugin does not load.

Can anyone further clarify what is going on?

Thanks,

Anthony DeRosa


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of DeRosa,
Anthony
Sent: Wednesday, July 23, 2008 1:37 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Using ptvcursor in a Plugin

Clarification...I was able to successfully *build* the plugin, but the
plugin fails to load successfully at run-time.  I'm sure there is an
obvious solution here, but I'm not a Windows developer and I'm new to
Wireshark.  Can anyone tell me how to export the ptvcursor API for
plugins to use?

Thanks,

Anthony DeRosa


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of DeRosa,
Anthony
Sent: Wednesday, July 23, 2008 1:34 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Using ptvcursor in a Plugin

I was able to build my plugin by adding the ptvcursor API to
wireshark/epan/libwireshark.def.  Should I post a patch here in a
certain format for someone to check-in to the repository?

Thanks,

Anthony DeRosa


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of DeRosa,
Anthony
Sent: Wednesday, July 23, 2008 1:13 PM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Using ptvcursor in a Plugin

I'd like to use ptvcursor in a plugin I am writing (in Windows with
VS8), but the ptvcursor API does not seem to be available to plugins.
That is, when I do 'dumpbin /exports epan\libwireshark.lib', the
ptvcursor API is not present, and I get link errors (unresolved external
symbol _ptvcursor*) when I build my plugin.  However, the file
README.plugins states that, "In fact all of the functions described in
README.developer can be used in the plugins exactly as they are used in
standard dissectors."  Is this statement false, or am I doing something
wrong?

Thanks,

Anthony DeRosa



This e-mail and any files transmitted with it may be proprietary and are
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the
sender.
Please note that any views or opinions presented in this e-mail are
solely those of the author and do not necessarily represent those of ITT
Corporation. The recipient should check this e-mail and any attachments
for the presence of viruses. ITT accepts no liability for any damage
caused by any virus transmitted by this e-mail.
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev