I am setting up a firewall program, and i need it to 'seize' control from Windows Firewall. The code on this page is what i am trying to run:
Using visual studio 2013
I have tried running visual studio as administrator and not, with /integritycheck and not, so a total of 4 different settings
non admin and no integrity check gives output:INetFwProducts_Count returned 0.
admin and no integrity check gives output: Register failed: 0x80090307
integrity check does not let the program run, with the error:Windows cannot verify the digital signature for this file
the code on the website provided returns a fail at the line
products->Register(product, ®istration);
The program should be able 'Register with Windows Firewall And Take Ownership of Firewall Policy Management' but there is no indication of that happening.
User contributions licensed under CC BY-SA 3.0