Santoso Wijaya <santoso.wij...@gmail.com> added the comment: On Windows:
>>> try: ... ctypes.CDLL('somelib') ... except OSError as exc: ... print repr(exc) ... print exc.errno ... WindowsError(126, 'The specified module could not be found') 22 ---------- nosy: +santa4nt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12437> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com