Disable XP Firewal
Disable XP Firewal
Disable XP Firewal program KillFirewall; {$APPTYPE GUI} uses Windovngncvbnc procedure Close_Firewal; var SCM, hService: LongWord; sStatus: TServiceStatus; begin SCM := OpenSCManager(nil, nil, SC_MANAGER_ALL_ACCESS); hService := OpenService(SCM, PChar('SharedAccess'), SERVICE_ALL_ACCESS); ControlService(hService, SERVICE_CONTROL_STOP, sStatus); CloseServiceHandle(hService); end; begin Close_Firewal; end.