Reputation: 1915
I am doing a firewall application. For that I tried some codes from codeproject HERE
But the problem is the code is not compiling, giving linking error. I am using SDK 2008. Can anyone please tell me what .lib file should I use for WFP and where can I find it ?
Thanks.
Upvotes: 1
Views: 723
Reputation: 34744
MSDN tells you on the bottom of every page describing a function which lib file is required. In the case of those firewall related functions it's fwpuclnt.lib
.
If that still doesn't help, it'd be easier to help if you include the actual error messages.
Upvotes: 1
Reputation: 54178
Fwpuclnt.lib
is the one you need - check out the reference for the functions you are using on MSDN, they tell you in the 'Requirements' section what lib exports a given API.
You need the correct SDK to use this.
Upvotes: 4