Wireshark-dev: Re: [Wireshark-dev] I want to modify the source code of wireshark to pop up a GU

From: Alexander Koeppe <format_c@xxxxxxxxx>
Date: Sat, 13 Nov 2010 19:04:45 +0100
刘昆 schrieb:
> I want to modify the source code of wireshark to pop up a GUI window to
> show some information when the dissector start to dissect http
> packet.How should I do?
> 
> Should I program at packet-http.c:dissect_http? or Where?
> 
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
> 
Let me guess: You're working on Windows?

Why don't you start Wireshark from a command line and print information
you want directly to stdout just using g_print()? It's much easier.

Cheers.