[python-win32] Problems with Python+COM and XP Firewall Manager
Robert Olson
olson at mcs.anl.gov
Thu Oct 23 17:11:57 EDT 2003
At 03:11 PM 10/23/2003, Jens B. Jorgensen wrote:
>Ack. Sorry, yeah. I updated the zip and uploaded it to the same spot.
Okay, that built and works fine. very cool.
What I'm actually looking for is the ability to call
INetSharingManager::get_INetSharingConfigurationForINetConnection. What I'm
thinking is I add a call that takes the netsharingmgr instance and the
netconn IUnknown guy, convert the later to a INetConnectionPtr, and do the
invocation.
Can you point me at the magic to convert a python <win32com.gen_py.NetCon
1.0 Type Library.NetSharingManager> into the C++ INetSharingManager object,
and the other direction for the return of the INetSharingConfiguration
object (which does implement IDispatch which means I should be able to
manipulate it in python).
thanks; this is pretty powerful stuff ..
--bob
More information about the Python-win32
mailing list