Wireshark mailing list archives
Re: Run Time Error
From: Bill Meier <wmeier () newsguy com>
Date: Tue, 23 Feb 2010 10:23:53 -0500
Jakub Zawadzki wrote:
On Tue, Feb 23, 2010 at 07:52:29PM +0530, Rajesh P S wrote:when I delete "dash.dll" (my_ protocol.dll) from ' C:\wireshark\wireshark-gtk2\plugins\1.1.4-SVN-DASH' its working fine for other protocols.But when I put my dissector dll into the above folder, it gives me above mentioned run time error. I have attached the source file with this mail. Please help me out in this.#v+ $ perl tools/checkAPIs.pl /tmp/packet-dash.c Warning: /tmp/packet-dash.c does not have an SVN Id tag. Error: Found C++ style comments in /tmp/packet-dash.c Error: /tmp/packet-dash.c : Not terminated: value_string primary_assets_flag_coding[] Error: /tmp/packet-dash.c : Not terminated: value_string asset_type_coding[] Error: Found prohibited APIs in /tmp/packet-dash.c: malloc,free #v- You need to put { 0, NULL } at the end of primary_assets_flag_coding & asset_type_coding, i.e: static const value_string primary_assets_flag_coding[] = { { 0, "Returns assets within the collapsed/collection/group asset" }, { 1, "Returns the primary assets " }, { 0, NULL } }; hth.
Also: the source you supplied doesn't compile on my windows system. Something wrong with the static const fragment_items msg_frag_items = {...}; Did you receive compilation errors ?? Obviously compilation errors need to be fixed before continuing. It also looks like you have a bunch of BASE_NONE's for FT_UINT16 types & etc. That isn't going to work. {"Planner Retention","oqtp.planner_retention",FT_UINT16, BASE_NONE,NULL, 0x0, "Planner Retention", HFILL}}, ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Run Time Error, (continued)
- Re: Run Time Error Maynard, Chris (Feb 22)
- Re: Run Time Error Rajesh P S (Feb 22)
- Re: Run Time Error Bill Meier (Feb 22)
- Re: Run Time Error Maynard, Chris (Feb 22)
- Re: Run Time Error Rajesh P S (Feb 22)
- Re: Run Time Error Rajesh P S (Feb 23)
- Re: Run Time Error Anders Broman (Feb 23)
- Re: Run Time Error Rajesh P S (Feb 23)
- Re: Run Time Error Rajesh P S (Feb 23)
- Re: Run Time Error Jakub Zawadzki (Feb 23)
- Re: Run Time Error Bill Meier (Feb 23)