If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Internet Connection Sharing and Internet Connection Firewall question
Does anyone have the ICF API experiences?
We would like to use the ICF API in our program to automatically open or close ports as required. But when I use the INetSharingPortMapping::Enable() or INetSharingPortMapping:elete() function under my Windows XP OS, it causes a notification to appear on my local computer, every time I have to choose "YES" or "NO" in order to continue this program. It is very inconvenient for us to use this ICF API under our program. We would like this program to continue running without user interruption. Further look into the MSDN document related the ICF under following website: http://msdn.microsoft.com/library/de..._interface.asp Only four ICS/ICF methods will cause the notification to the user interface: INetSharingConfiguration:isableInternetFirewall INetSharingConfiguration:isableSharing INetSharingConfiguration::EnableInternetFirewall INetSharingConfiguration::EnableSharing I wonder why INetSharingPortMapping::Enable() and INetSharingPortMapping:elete() cause the notification to the user interface. Is there any way we could use INetSharingPortMapping::Enable() and INetSharingPortMapping:elete() without notification showing up? Thank you ! Gary |
Ads |
#2
|
|||
|
|||
Internet Connection Sharing and Internet Connection Firewall question
I'd suggest that you post to another newsgroup such as
microsoft.public.msdn.general which may be more appropriate for this type of question. ---- Thanks, Rakesh Chanana [MSFT] When replying, please post to GROUP so that everyone can benefit from the knowledge. This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm -------------------- From: (Gary) Newsgroups: microsoft.public.windowsxp.network_web Subject: Internet Connection Sharing and Internet Connection Firewall question Date: 3 Nov 2003 15:32:37 -0800 Organization: http://groups.google.com Does anyone have the ICF API experiences? We would like to use the ICF API in our program to automatically open or close ports as required. But when I use the INetSharingPortMapping::Enable() or INetSharingPortMapping:elete() function under my Windows XP OS, it causes a notification to appear on my local computer, every time I have to choose "YES" or "NO" in order to continue this program. It is very inconvenient for us to use this ICF API under our program. We would like this program to continue running without user interruption. Further look into the MSDN document related the ICF under following website: http://msdn.microsoft.com/library/de...us/ics/ics/ics _icf_methods_that_provide_notifications_to_the_use r_interface.asp Only four ICS/ICF methods will cause the notification to the user interface: INetSharingConfiguration:isableInternetFirewall INetSharingConfiguration:isableSharing INetSharingConfiguration::EnableInternetFirewall INetSharingConfiguration::EnableSharing I wonder why INetSharingPortMapping::Enable() and INetSharingPortMapping:elete() cause the notification to the user interface. Is there any way we could use INetSharingPortMapping::Enable() and INetSharingPortMapping:elete() without notification showing up? Thank you ! Gary |
#3
|
|||
|
|||
Internet Connection Sharing and Internet Connection Firewall question
The notification is so the user is notified that some program is
manipulating the firewall. It is irritating and while I can't promise anything I expect it to be gone in the future. -- Ken Wickes [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. ""Rakesh Chanana [MSFT]"" wrote in message ... I'd suggest that you post to another newsgroup such as microsoft.public.msdn.general which may be more appropriate for this type of question. ---- Thanks, Rakesh Chanana [MSFT] When replying, please post to GROUP so that everyone can benefit from the knowledge. This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm -------------------- From: (Gary) Newsgroups: microsoft.public.windowsxp.network_web Subject: Internet Connection Sharing and Internet Connection Firewall question Date: 3 Nov 2003 15:32:37 -0800 Organization: http://groups.google.com Does anyone have the ICF API experiences? We would like to use the ICF API in our program to automatically open or close ports as required. But when I use the INetSharingPortMapping::Enable() or INetSharingPortMapping:elete() function under my Windows XP OS, it causes a notification to appear on my local computer, every time I have to choose "YES" or "NO" in order to continue this program. It is very inconvenient for us to use this ICF API under our program. We would like this program to continue running without user interruption. Further look into the MSDN document related the ICF under following website: http://msdn.microsoft.com/library/de...us/ics/ics/ics _icf_methods_that_provide_notifications_to_the_use r_interface.asp Only four ICS/ICF methods will cause the notification to the user interface: INetSharingConfiguration:isableInternetFirewall INetSharingConfiguration:isableSharing INetSharingConfiguration::EnableInternetFirewall INetSharingConfiguration::EnableSharing I wonder why INetSharingPortMapping::Enable() and INetSharingPortMapping:elete() cause the notification to the user interface. Is there any way we could use INetSharingPortMapping::Enable() and INetSharingPortMapping:elete() without notification showing up? Thank you ! Gary |
Thread Tools | |
Display Modes | |
|
|