锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美日韩国产成人在线观看,日韩视频一区二区,xxxxx日韩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浜?jiǎn)~<br />瑙e喅鏂規(guī)硶錛氬寘鍚ご鏂囦歡聽 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鍦ㄨ繖閲屽氨涓嶈禈榪頒簡(jiǎn)錛屽緢綆鍗曠殑銆傜敱浜嶸C Express娌℃湁鑷甫 Platform SDK,鎵浠ラ渶瑕佽嚜宸變笅杞藉畨瑁咃紙濡傛灉涓嶅畨瑁?psdk鐨勮瘽錛屽氨浼?xì)鍑虹?鎵句笉鍒?winsock2.h 鐨勭紪璇戦敊璇級(jí)銆傜敱浜庡井杞幇鍦ㄥ畼緗戞彁渚涚殑psdk涓嬭澆姣旇緝楹葷儲(chǔ)錛岄渶瑕亀indows姝g増楠岃瘉錛屽啀鍔犱笂浣撶Н姣旇緝澶э紝鎵浠ユ垜榪欓噷灝變笉鐢紝鎴戠敤鐨刾sdk鏄湪榪欓噷涓嬭澆鐨勶細(xì)
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聽聽 : 鎶婁互涓嬭礬寰勬坊鍔犲埌鐩稿簲鐨勪笅鎷夎妭鐐逛腑鍘伙細(xì)(鍏朵腑psdk鏄綘鐨剆dk瀹夎鐩綍錛?br />
  • Executalbe files 錛?tt>psdkdir\Bin

  • Include files 錛?tt>psdkdir\include

  • Library files錛?tt>psdkdir\lib

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

3銆佷笅杞鉸?WinPcap Developer's Packs
瑙e帇鍚庝細(xì)寰椾竴涓洰褰昗pdPack鍥涗釜瀛愮洰褰曪細(xì)
聽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 宸ョ▼錛岀劧鍚庨厤緗伐紼嬪睘鎬э細(xì)
  • 鍙抽敭 -> Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Proprocessor Definition聽聽 寰涓婇潰娣誨姞 WPCAP灝卞彲浠ヤ簡(jiǎn)錛堣繖涓姝ヤ笉鍋氫技涔庝篃娌′粈涔堥棶棰榽)
  • 鍙抽敭 -> Properties -> Configuration Properties -> Linker -> input -> Additional Dependencies聽 寰涓婇潰娣誨姞 wpcap.lib Packet.lib
5銆佷竴涓緥瀛愶細(xì)
娉ㄦ剰錛屽鏋滀笉娣誨姞 #include "remote-ext.h" 涔熸槸浼?xì)鎶ラ敊鐨剘

6銆侀摼鎺ラ敊璇細(xì)
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鍚庨潰錛堣涓婇潰絎?鏉★級(jí)

Jafe 2007-09-27 14:55 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 乌鲁木齐县| 康平县| 米易县| 石狮市| 长宁县| 嘉黎县| 曲水县| 沅江市| 进贤县| 化隆| 长宁县| 平潭县| 鄂伦春自治旗| 罗山县| 界首市| 澎湖县| 蒙阴县| 金堂县| 北票市| 田阳县| 隆林| 无为县| 大冶市| 贡嘎县| 浮山县| 孟州市| 当阳市| 阳山县| 横山县| 临洮县| 格尔木市| 阿图什市| 读书| 吴堡县| 毕节市| 漳州市| 衡水市| 琼结县| 穆棱市| 澄城县| 浦北县|