Irongeek, on Jun 20 2008, 09:32 AM, said:
Also, why is the file now encoded as UTF16?
Yes, sorry that was a typo on my behalf, I'll attach a fixed version to this post.
$monitorgateways is for a future as of yet unimplemented function to monitor changes in the default gateways and their metrics (with 'route print') or at the very least calling IP_Gateway_List()
I am not sure about the speed hit but your arp-cache monitor function should really be calling IP_Gateway_List() every time instead of using the list generated at program startup.
You can see that pipes or threads / etc will be necessary.. we need to monitor the arp cache independent of the gui, same with the windows firewall and the security event log BUT the arp cache thread also needs to know the second there is a change to the gateway info so it isn't monitoring outdated information.
UTF16 is being used for multilingual support, as is the raw menu module instead of the standard though I have included both of them if a user wishes to compile for ansi.
Irongeek, on Jun 20 2008, 09:40 AM, said:
There likely is a way, but if things were threaded you could simply instantly kill or start the thread responsible for that feature and the gui would function as normal. This should be the end goal.
NOTE:
I have discovered an annoying bug between the beta 3.2.13.2 and the stable 3.2.12.1 autoit..
In the stable, reading the submenu checkboxe states works but in the beta the code doesn't work, not for me at least with the function I am using.
(GUICtrlRead($GatewayWatch),$GUI_CHECKED) or (GUICtrlRead($GatewayWatch),$GUI_UNCHECKED) doesn't work.. just returns -1 regardless of state in the beta autoit. :(
This breaks checkbox functionality of 0.03+ builds in the beta autoit, though the stable works just fine.
EDIT: attached 0.03a - utf16 script and binary compiled with latest stable, up to users to compile with beta or for ansi
(includes a bugfix for the previously mentioned typo and a msgbox to alert users that monitor gateways isn't added yet if they try and use it in the menu)
Attached File(s)
-
jabdecaffeinatid0.03a.zip (491.37K)
Number of downloads: 1
This post has been edited by jabzor: 23 June 2008 - 04:43 PM

Sign In »
Register Now!
Help




















