我用winpcap做了个截包工具,在windows自带的命令提示符可以实现。但是移植到VC应用程序中,想在ListCtrl中显示出包的内容时,程序段pcap_loop(adhandle,   50,   packet_handler,   NULL)编译不通过,说是 
“error   C2664:   'pcap_loop '   :   cannot   convert   parameter   3   from   'void   (void) '   to   'void   (__cdecl   *)(unsigned   char   *,const   struct   pcap_pkthdr   *,const   unsigned   
char   *) ' 
                None   of   the   functions   with   this   name   in   scope   match   the   target   type” 
本人菜鸟一个,全面换掉pcap_loop函数根本没办法,求达人帮忙处理。