[issue24429] msvcrt error when embedded

erik flister report at bugs.python.org
Sat Jun 13 02:41:04 CEST 2015


erik flister added the comment:

well i can confirm @eryksun's method works, so it's not a problem with how the manifest is included in the dll.  to me, the real issue is that ctypes.cdll.msvcrt and find_library('c') aren't correct.  the first returns something "old and unsupported," or "officially off-limits" (depending who you ask), and the second doesn't work when running embedded.  imho, both of them should use @eryksun's method to activate the dll's context, look in the included manifest, and return the msvcr* found there.  why isn't this the correct design?  why should every library have to reimplement the method just to allow running embedded, which they can't be responsible for knowing about?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24429>
_______________________________________


More information about the Python-bugs-list mailing list