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 <<a href="mailto:bryan@kadzban.is-a-geek.net">bryan@kadzban.is-a-geek.net</a>>:</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>> Here's exactly what I did : In the Tools/Option menu, on the left, I<br>> chosse "Projects and Solutions" (sorry my Visual is in french so I<br>> merely translate) and "VC++ Directories".
<br><br>Directories isn't what you want. (Don't get me wrong: it is needed.<br>It's just not sufficient.) You want to add a specific .lib *file* to<br>the link as well (wpcap.lib).<br><br>Try something named "Libraries" or "Files to link" or something like
<br>that (I've only rarely used VC++, and I don't remember how its UI is set<br>up). It'll probably show e.g. comctl32.lib, advapi32.lib, kernel32.lib,<br>etc. already; add wpcap.lib to the list.<br><br>> In the "Display Directories for" menu on the upper-right, I choose
<br>> "Include Files" and add a new line by selecting the Include directory<br>> of the WinPcap Pack directory. I then do the same for "Librairy<br>> files" in the upper-right menu, selecting the WinPcap/Lib directory
<br>> and adding it in a new line.<br><br>Yes, this just added the directory to the linker search path. 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't know where in the UI that's set, but if you know gcc, what
<br>you've done is the equivalent of gcc's -L option. You need to use the<br>equivalent of gcc'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'Orsay - stagiaire à Astrium Toulouse<br><br>28 Bd de la Marne<br>31400 Toulouse<br>tél : 06 76 73 11 10<br>-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~