Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] what is the best entry point / file in debugging Wiresharp src in VC++?

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Mon, 12 Mar 2007 17:06:00 -0700

On Mon, Mar 05, 2007 at 03:36:10PM -0800, hub wrote:

> I am quite new to the source code of Wireshark and I have a simple 
> question. Does anyone knows what is a good entry file/subroutine that 
> I can build a project/solution upon in VC++ (any VC version)? Lets 
> say, is there a single .c file (having main() ) that when I load it 
> into my VC++ environment and start building the project upon? It seems 
> like there many files with main(), but I am looking for the one that 
> is the major one, so when I run it I get the Wireshark interface build 
> and everything else the way wireshark is available for the users. Or 
> does anyone already have a simple VC++/VC# main() already written that 
> would work with some of the wireshark files?

The beginning main() function is in gtk/main.c.  I believe I just built 
my MSVC++ 2005 EE project out of the whole Wireshark folder.  You also 
have to configure the command-line compliation commands (nmake -f 
Makefile.nmake basically).  See the Developer's Guide for more details 
(http://www.wireshark.org/docs/wsdg_html_chunked/).


Steve


  • Follow-Ups:
    • [Wireshark-dev] How do a save a Wireshark capture so Finisar Surveyor can read it?
      • From: John Jamulla
  • References:
    • [Wireshark-dev] what is the best entry point / file in debugging Wiresharp src in VC++?
      • From: hub
  • Prev by Date: Re: [Wireshark-dev] Get 3 bytes
  • Next by Date: Re: [Wireshark-dev] proto_add_tree_item versus proto_add_tree_string
  • Previous by thread: [Wireshark-dev] what is the best entry point / file in debugging Wiresharp src in VC++?
  • Next by thread: [Wireshark-dev] How do a save a Wireshark capture so Finisar Surveyor can read it?
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation