Jump to content

Recommended Posts

Hey guys, im starting to make a firewall dll, and i was wondering how to tell if its actually working, lol i dont seem to get errors.....but, ya never kno, lol

Heres The Dll:


Heres My Test Code:

#include <GUIConstants.AU3>

$MainGUI = GUICreate("Brian's Firewall", 400, 300, -1, -1)

$Input = GUICtrlCreateInput("", 250, 50, 100, 20, $WS_DISABLED)

$StartB = GUICtrlCreateButton("Start Firewall", 100, 10, 100, 20)


While 1
   $msg = GUIGetMsg()
   If $msg = $GUI_EVENT_CLOSE Then
   If $msg = $StartB Then

DllCall("fw.dll", "int", "FireWallEnable", "short", "AF_UNSPEC", "int", "FALSE", "int", "FALSE")

Func StartFW($Input)
   $FWCheck = DllCall("fw.dll", "int", "IsFireWallEnabled", "short", "AF_INET6")
   $FWStart = DllCall("fw.dll", "int", "FireWallEnable", "short", "AF_UNSPEC", "int", "TRUE", "int", "FALSE")
   MsgBox(4096, "FireWall Start", $FWStart)
   GUICtrlSetData($Input, "Running...")


Please help me, my VERY first dll, and i love your AU3Xtra.dll file, thanks



No ideas Guys?

Edited by Crome_BAD
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...