锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲av永久无码精品网站,亚洲成人国产精品,亚洲国产av美女网站http://www.tkk7.com/JafeLee/category/24879.htmlzh-cnMon, 15 Oct 2007 05:29:30 GMTMon, 15 Oct 2007 05:29:30 GMT60鐢╒C鐨勪竴浜涢棶棰?/title><link>http://www.tkk7.com/JafeLee/archive/2007/10/11/151932.html</link><dc:creator>Jafe</dc:creator><author>Jafe</author><pubDate>Thu, 11 Oct 2007 01:20:00 GMT</pubDate><guid>http://www.tkk7.com/JafeLee/archive/2007/10/11/151932.html</guid><wfw:comment>http://www.tkk7.com/JafeLee/comments/151932.html</wfw:comment><comments>http://www.tkk7.com/JafeLee/archive/2007/10/11/151932.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/JafeLee/comments/commentRss/151932.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/JafeLee/services/trackbacks/151932.html</trackback:ping><description><![CDATA[鏈榪戝仛鐨勪笢瑗塊兘瑕佺敤vc錛屽緢澶氶敊璇兘鑾悕錛?sigh銆傘傘?Java鐪熷ソ錛?br />1銆乪rror C2146: syntax error : missing ';' before identifier 'ContextRecord'<br />c:\program files\psdk\include\winnt.h(3393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br />c:\program files\psdk\include\winnt.h(3393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br /><br />鍘熷洜錛氬繕璁板寘鍚ご鏂囦歡 windows.h浜唦<br />瑙e喅鏂規硶錛氬寘鍚ご鏂囦歡聽 windows.h <br /><img src ="http://www.tkk7.com/JafeLee/aggbug/151932.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/JafeLee/" target="_blank">Jafe</a> 2007-10-11 09:20 <a href="http://www.tkk7.com/JafeLee/archive/2007/10/11/151932.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Visual Studio 2005 Express 涓嬬殑 WinPcap 閰嶇疆http://www.tkk7.com/JafeLee/archive/2007/09/27/148719.htmlJafeJafeThu, 27 Sep 2007 06:55:00 GMThttp://www.tkk7.com/JafeLee/archive/2007/09/27/148719.htmlhttp://www.tkk7.com/JafeLee/comments/148719.htmlhttp://www.tkk7.com/JafeLee/archive/2007/09/27/148719.html#Feedback3http://www.tkk7.com/JafeLee/comments/commentRss/148719.htmlhttp://www.tkk7.com/JafeLee/services/trackbacks/148719.html
1銆佸畨瑁?Visual Studio 2005 Express Edition 鍜?Paltform SDK銆?br />
濡備綍瀹夎Visual Studio 2005 Express鍦ㄨ繖閲屽氨涓嶈禈榪頒簡錛屽緢綆鍗曠殑銆傜敱浜嶸C Express娌℃湁鑷甫 Platform SDK,鎵浠ラ渶瑕佽嚜宸變笅杞藉畨瑁咃紙濡傛灉涓嶅畨瑁?psdk鐨勮瘽錛屽氨浼氬嚭鐜?鎵句笉鍒?winsock2.h 鐨勭紪璇戦敊璇級銆傜敱浜庡井杞幇鍦ㄥ畼緗戞彁渚涚殑psdk涓嬭澆姣旇緝楹葷儲錛岄渶瑕亀indows姝g増楠岃瘉錛屽啀鍔犱笂浣撶Н姣旇緝澶э紝鎵浠ユ垜榪欓噷灝變笉鐢紝鎴戠敤鐨刾sdk鏄湪榪欓噷涓嬭澆鐨勶細
XPSP2 PSDK Full Download with Local Install
榪樻湁涓涓紝涓嶇煡閬撹兘涓嶈兘瀹夎鍦▁p涓婏紝鏈夊叴瓚g殑鍏勫紵鍙互鑷繁璇曡瘯
Windows Server 2003 PSDK Full Download with Local Install
浼間箮榪欎袱涓摼鎺ュ湪瀹樼綉涓婃槸鎵句笉鍒扮殑
涓嬭澆銆佽В鍘嬨佸畨瑁咃紝鐒跺悗鍐嶉厤緗?VC++錛?br />tools --> options聽 --> Projects and Solutions聽 --> VC++ Directories聽聽 : 鎶婁互涓嬭礬寰勬坊鍔犲埌鐩稿簲鐨勪笅鎷夎妭鐐逛腑鍘伙細(鍏朵腑psdk鏄綘鐨剆dk瀹夎鐩綍錛?br />
  • Executalbe files 錛?tt>psdkdir\Bin

  • Include files 錛?tt>psdkdir\include

  • Library files錛?tt>psdkdir\lib

2銆佸畨瑁?winpcap:鍒拌繖閲屼笅杞?winpcap
瀹夎鍚庢寜瑕佹眰閲嶅惎錛屽鏋滄病瀹夎榪欎釜鍖咃紝紼嬪簭鍗充嬌緙栬瘧鎴愬姛涔熶笉鑳借繍琛岋紝浼氭彁紺烘壘涓嶅埌 winpcap.dll

3銆佷笅杞鉸?WinPcap Developer's Packs
瑙e帇鍚庝細寰椾竴涓洰褰昗pdPack鍥涗釜瀛愮洰褰曪細
聽docs
聽Examples-pcap
聽Examples-remote
聽Include
聽Lib
鐒跺悗閰嶇疆VC++
tools --> options聽 --> Projects and Solutions聽 --> VC++ Directories :
  • Include files 錛?tt>WpdPackPath\include

  • Library files錛?tt> WpdPackPath\lib

鍏朵腑 WpdPackPath鏄洰褰昗pdPack鐨勭粷瀵硅礬寰?br />
4銆佹柊寤轟竴涓?win32->win32 console application 宸ョ▼錛岀劧鍚庨厤緗伐紼嬪睘鎬э細
  • 鍙抽敭 -> Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Proprocessor Definition聽聽 寰涓婇潰娣誨姞 WPCAP灝卞彲浠ヤ簡錛堣繖涓姝ヤ笉鍋氫技涔庝篃娌′粈涔堥棶棰榽)
  • 鍙抽敭 -> Properties -> Configuration Properties -> Linker -> input -> Additional Dependencies聽 寰涓婇潰娣誨姞 wpcap.lib Packet.lib
5銆佷竴涓緥瀛愶細
娉ㄦ剰錛屽鏋滀笉娣誨姞 #include "remote-ext.h" 涔熸槸浼氭姤閿欑殑~

6銆侀摼鎺ラ敊璇細
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__WSASetLastError@4聽referenced聽in聽function聽_WspiapiGetNameInfo@28
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__inet_ntoa@
4聽referenced聽in聽function聽_WspiapiLegacyGetAddrInfo@16
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__htonl@
4聽referenced聽in聽function聽_WspiapiLegacyGetAddrInfo@16
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__getservbyname@
8聽referenced聽in聽function聽_WspiapiLegacyGetAddrInfo@16
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__htons@
4聽referenced聽in聽function聽_WspiapiLegacyGetAddrInfo@16
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__inet_addr@
4聽referenced聽in聽function聽_WspiapiParseV4Address@8
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__WSAGetLastError@
0聽referenced聽in聽function聽_WspiapiQueryDNS@24
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__gethostbyname@
4聽referenced聽in聽function聽_WspiapiQueryDNS@24
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__gethostbyaddr@
12聽referenced聽in聽function聽_WspiapiLegacyGetNameInfo@28
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__getservbyport@
8聽referenced聽in聽function聽_WspiapiLegacyGetNameInfo@28
anothertest.obj聽:聽error聽LNK2019:聽unresolved聽external聽symbol聽__imp__ntohs@
4聽referenced聽in聽function聽_WspiapiLegacyGetNameInfo@28
瑙e喅璇ラ棶棰橈紝闇瑕佸彧闇鎶妛s2_32.lib娣誨姞鍒皐pcap.lib Packet.lib鍚庨潰錛堣涓婇潰絎?鏉★級

Jafe 2007-09-27 14:55 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲日韩国产二区无码| 91精品成人免费国产| 国产亚洲精品a在线观看| 中文字幕日本人妻久久久免费 | 亚洲色图古典武侠| 在线免费观看韩国a视频| 中文字幕永久免费| 亚洲娇小性xxxx色| 国产AV无码专区亚洲AWWW| 最近免费最新高清中文字幕韩国 | 两个人看的www免费| 亚洲一本之道高清乱码| 亚洲av成人一区二区三区在线观看 | 狼群影院在线观看免费观看直播| 亚洲乱码中文字幕在线| 亚洲AV日韩AV天堂久久| 国产成人免费A在线视频| 8x8×在线永久免费视频| 黄色a级免费网站| 亚洲videos| 亚洲成av人在线视| 亚洲成AV人网址| 在线视频观看免费视频18| 97人妻精品全国免费视频 | 亚洲免费观看网站| 亚洲永久精品ww47| 又粗又大又猛又爽免费视频| 3344永久在线观看视频免费首页| 日本永久免费a∨在线视频| 亚洲人配人种jizz| 亚洲国产精品国自产拍电影| 亚洲人成网站18禁止一区 | 亚洲国产第一页www| 一本色道久久88亚洲综合 | 亚洲一区动漫卡通在线播放| 亚洲乱码中文字幕综合| 日本不卡高清中文字幕免费| 曰曰鲁夜夜免费播放视频| 久9这里精品免费视频| fc2免费人成在线| 深夜特黄a级毛片免费播放|