Ok, I finally achived my goal: execute the first exemple of the tutorial !!<br>It was of course the inclusion of the Packet.lib and wpcap.lib in the Link/Entries/Additional Librairies menu of the Project Propeties. I finally found the menu in my french environement...
<br><br>Ouahou !!<br><br>Thank you all<br><br><div><span class="gmail_quote">2007/3/13, Bryan Kadzban &lt;<a href="mailto:bryan@kadzban.is-a-geek.net">bryan@kadzban.is-a-geek.net</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Samuel Voiron wrote:<br>&gt; Here&#39;s exactly what I did : In the Tools/Option menu, on the left, I<br>&gt; chosse &quot;Projects and Solutions&quot; (sorry my Visual is in french so I<br>&gt; merely translate) and &quot;VC++ Directories&quot;.
<br><br>Directories isn&#39;t what you want.&nbsp;&nbsp;(Don&#39;t get me wrong: it is needed.<br>It&#39;s just not sufficient.)&nbsp;&nbsp;You want to add a specific .lib *file* to<br>the link as well (wpcap.lib).<br><br>Try something named &quot;Libraries&quot; or &quot;Files to link&quot; or something like
<br>that (I&#39;ve only rarely used VC++, and I don&#39;t remember how its UI is set<br>up).&nbsp;&nbsp;It&#39;ll probably show e.g. comctl32.lib, advapi32.lib, kernel32.lib,<br>etc. already; add wpcap.lib to the list.<br><br>&gt; In the &quot;Display Directories for&quot; menu on the upper-right, I choose
<br>&gt; &quot;Include Files&quot; and add a new line by selecting the Include directory<br>&gt; of the WinPcap Pack directory. I then do the same for &quot;Librairy<br>&gt; files&quot; in the upper-right menu, selecting the WinPcap/Lib directory
<br>&gt; and adding it in a new line.<br><br>Yes, this just added the directory to the linker search path.&nbsp;&nbsp;It did<br>*not* specifically ask the linker to link against wpcap.lib, which is<br>what you need to do.<br><br>I don&#39;t know where in the UI that&#39;s set, but if you know gcc, what
<br>you&#39;ve done is the equivalent of gcc&#39;s -L option.&nbsp;&nbsp;You need to use the<br>equivalent of gcc&#39;s -l option also.<br><br><br>_______________________________________________<br>Winpcap-users mailing list<br><a href="mailto:Winpcap-users@winpcap.org">
Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
<br>Samuel Voiron<br>Ingénieur informatique du domaine spatial<br>M2 CCI d&#39;Orsay - stagiaire à Astrium Toulouse<br><br>28 Bd de la Marne<br>31400 Toulouse<br>tél : 06 76 73 11 10<br>-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~