New submission from Thomas Heller: I'm uploading this patch for discussion, in case someone cares.
This code (for Windows) adds a function ctypes.util.find_msvcrt(). This function returns the filename of the MSVC runtime library that the current Python executable uses. If calling functions from the C runtime library, it is very important to use the SAME dll that Python uses. Further, this patch changes ctypes.util.find_library(name) so that the MSVC runtime library name is returned when searching for "c" or "m". ---------- assignee: theller components: Extension Modules files: ctypes-util.patch keywords: patch messages: 59713 nosy: theller severity: normal status: open title: ctypes.util.find_msvcrt() function type: rfe versions: Python 2.6 Added file: http://bugs.python.org/file9123/ctypes-util.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1793> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com