Win32 Drive List Redux

Gerson Kurz gerson.kurz at t-online.de
Thu Jan 2 13:11:27 EST 2003


Hehe, you could use

"""
The SetErrorMode function controls whether the system will handle the
specified types of serious errors, or whether the process will handle
them. 

UINT SetErrorMode(
  UINT uMode   // process error mode
);

...
SEM_NOOPENFILEERRORBOX: The system does not display a message box when
it fails to find a file. Instead, the error is returned to the calling
process. 
"""

but then you'd need win32api again... 




More information about the Python-list mailing list