[Winpcap-users] Re: Capture packet from one interface, send to another interface

Gianluca Varenni gianluca.varenni at cacetech.com
Fri Aug 10 21:00:10 GMT 2007


Can you please send a minimal vc6 project showing the problem?

Have a nice day
GV


----- Original Message ----- 
From: "Ian Basham" <ianb at proconex.com>
To: <winpcap-users at winpcap.org>
Sent: Friday, August 10, 2007 1:36 PM
Subject: Re: [Winpcap-users] Re: Capture packet from one interface,send to 
another interface


> On Fri, 10 Aug 2007 14:21:33 -0400, Uli Muhammad Aulia <uli at el02itb.org> 
> wrote:
>
>> On 8/11/07, Gianluca Varenni <gianluca.varenni at cacetech.com> wrote:
>>>
>>>
>>>
>>> It's a linking problem, not a compile problem. Did you add wpcap.lib in
>>> the libraries for you project? What compiler are you using? Which 
>>> version of
>>> WinPcap?
>>>
>>
>>
>> Ah, yes. a linking problem.
>> yup, I already add wpcap.lib for the project.
>> already built some simple programs using winpcap and they worked. just 
>> this
>> one time it didn't.
>> I'm using Visual C++ 6 and WinPcap 4.0.1.
>>
>> still can't solve this problem.
>>
>>
>> Regards,
>>
>> Uli
>
> I am also using VC++ 6 and WinPcap 4. Maybe you can compare / contrast 
> with my setup...
>
> - Go to Project Settings.
> - make sure that you are looking at "All configurations"
> - go to the "Link" tab
> - choose the "General" Category
> - make sure wpcap.lib is in the list of "Object / Library modules"
> - choose the "Input" Category
> - again, make sure wpcap.lib is in the list of "Object / Library modules"
>
> N.B. - I'm not sure why wpcap.lib is in both the General and Input 
> Categories, but if I remove either, I get linkage errors.
>
> Hope this helps.
>
>
> -- 
> Ian Basham
> Proconex Consultants, Inc.
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list