Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top