请教winpcap例子的编译
我编译winpcap的例子时出现如下错误:
9: syntax error : ')'
f:\net tools\winpcap\code\wpdpack_3_1\wpdpack\include\remote-ext.h(397) : error C2143: syntax error : missing ')' before '*'
f:\net tools\winpcap\code\wpdpack_3_1\wpdpack\include\remote-ext.h(397) : error C2143: syntax error : missing '{' before '*'
f:\net tools\winpcap\code\wpdpack_3_1\wpdpack\include\remote-ext.h(397) : error C2059: syntax error : ')'
f:\net tools\winpcap\code\wpdpack_3_1\wpdpack\include\remote-ext.h(407) : error C2061: syntax error : identifier 'pcap_remoteact_accept'
f:\net tools\winpcap\code\wpdpack_3_1\wpdpack\include\remote-ext.h(407) : error C2059: syntax error : ';'
f:\net tools\winpcap\code\wpdpack_3_1\wpdpack\include\remote-ext.h(407) : error C2059: syntax error : 'type'
d:\mycode\final\winpacp\winpacp.cpp(19) : warning C4013: 'pcap_findalldevs_ex' undefined; assuming extern returning int
请问是什么问题,winpcap的例子应该如果编译?我使用的是vs2005,谢谢