문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top