[python-win32] Problems with Python+COM and XP Firewall Manager
Robert Olson
olson at mcs.anl.gov
Fri Oct 24 08:45:57 EDT 2003
At 07:00 PM 10/23/2003, Jens B. Jorgensen wrote:
>You can actually fix this by modifying the hnet.py that was generated by
>makepy. Go to the line in there where it defines
>INetSharingConfigurationForINetConnection there is a line there with
>"InvokeTypes(0x6, LCID, 2, (9, 0), ((9, 1)"... and change the bit with
>"((9, 1)" to "((13, 1)" and now the code should work. If I had more time
>to spare at the moment looking at this I'd figure out a patch for makepy
>and send it on to Mark.
And again, it works like a champ.
(and I find that even though I get a dialog from Windows implying that the
firewall setting change will only last while the app is running, the change
sticks).
Thanks so much.
--bob
More information about the Python-win32
mailing list