WIN32API GetLastError()
Jeff
no_spam at umich.edu
Mon Jun 12 12:46:54 EDT 2000
More information about the Python-list mailing list
Mon Jun 12 12:46:54 EDT 2000
- Previous message (by thread): Python Issues.
- Next message (by thread): WIN32API GetLastError()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey, I see that when you import win32api, the function GetLastError is exported. When trying to use this, I can never get the (any) error code other than 0. I am suspecting that this means that the GetLastError it is trying to "get" is an error from the pythonwin process and not from an API call I make (example writing to a file when only read access was given, or from an extension). So my question is, what can GetLastError be used for, and is it at all possible to get the windows error code from a bad win32file.CreateFile?? jy
- Previous message (by thread): Python Issues.
- Next message (by thread): WIN32API GetLastError()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list