锘??xml version="1.0" encoding="utf-8" standalone="yes"?>依依成人综合视频,97超碰成人,国产精品嫩草在线观看http://www.aygfsteel.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.aygfsteel.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.aygfsteel.com/JafeLee/archive/2007/10/11/151932.html</guid><wfw:comment>http://www.aygfsteel.com/JafeLee/comments/151932.html</wfw:comment><comments>http://www.aygfsteel.com/JafeLee/archive/2007/10/11/151932.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JafeLee/comments/commentRss/151932.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.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.aygfsteel.com/JafeLee/aggbug/151932.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JafeLee/" target="_blank">Jafe</a> 2007-10-11 09:20 <a href="http://www.aygfsteel.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.aygfsteel.com/JafeLee/archive/2007/09/27/148719.htmlJafeJafeThu, 27 Sep 2007 06:55:00 GMThttp://www.aygfsteel.com/JafeLee/archive/2007/09/27/148719.htmlhttp://www.aygfsteel.com/JafeLee/comments/148719.htmlhttp://www.aygfsteel.com/JafeLee/archive/2007/09/27/148719.html#Feedback3http://www.aygfsteel.com/JafeLee/comments/commentRss/148719.htmlhttp://www.aygfsteel.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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 宣威市| 准格尔旗| 佛坪县| 永和县| 平原县| 拜城县| 新泰市| 剑阁县| 榕江县| 万山特区| 绥宁县| 长沙县| 昔阳县| 汨罗市| 江西省| 容城县| 格尔木市| 许昌县| 沈阳市| 冕宁县| 拜泉县| 普兰县| 吉林省| 普格县| 虎林市| 甘洛县| 体育| 浦江县| 丹凤县| 康乐县| 新晃| 安国市| 榆社县| 翼城县| 稷山县| 新巴尔虎右旗| 澄迈县| 伊川县| 鞍山市| 容城县| 三亚市|