Hi all,
I'm having a problem when opening and enumerating a network resource
many times. For example:
i = 0
while i 1:
handle =
win32wnet.WNetOpenEnum(win32netcon.RESOURCE_CONNECTED,
win32netcon.RESOURCETYPE_ANY, 0, None)
partial_nr_list = win32wnet.WNetEnumResource(handle)
Roberts [EMAIL PROTECTED] wrote:
Gustavo Tabares wrote:
I'm having a problem with the code below and I'm not sure if there is
a bug in win32api.GetVolumeInformation. There is a simple workaround,
but I'm curious nonetheless. Any help is appreciated.
...
The simple workaround is to add os.sep
.
For the meantime,you should be able to
use
win32security.LsaAddAccountRights( policy_handle,
sid_obj, ('SeServiceLogonRight',) )
hth
Roger
- Original Message -
From:
Gustavo
Tabares
To: python-win32@python.org
Sent: Tuesday, April 12, 2005 6:19