Error including win32net in a Python COM server

Mark Hammond mhammond at skippinet.com.au
Tue Jul 30 19:52:07 EDT 2002


Emanuel Borges wrote:


> The only difference that I have found is that in this particular COM
> server, I am importing win32net.  And after doing some debugging I
> have found that the COM server works fine if I remove this import. 
> This, however I can't do because I need NetUseGetInfo, NetUseAdd,
> NetUseDel & NetUseEnum for my Server to function correctly.  I've

win32net uses functions only available on Win NT/2k/XP - you should use 
win32wnet for Win9x.

Mark.




More information about the Python-list mailing list