Open GoogleCodeExporter opened 8 years ago
IIRC, the potential problem with this approach is that it means that two
separate
instances of the C runtime exist in the same process space. This means that
certain
things, like file pointers, can't be exchanged from one CRT instance to
another--or
rather, they *can* be exchanged, but it'll cause a segfault. I believe that we
encountered this fairly early on in Enso development, but I'm not 100% sure. I
was
also under the impression that the reason C extension modules like pywin32
require
you to download a different installer depending on your version of Python was
due to
this issue.
Are there any major Python C extension modules that statically include the CRT
like this?
Original comment by var...@gmail.com
on 24 Mar 2008 at 4:20
Yes, I realise that was a major hack - but it was a required hack to get it
working
quick and easy. Even if it was a Bad Thing (tm).
I just recompiled without linking to CRT (no /MD or /MT - used /LD instead), and
everything seems to be working fine.
Needs to be really tested - but maybe we can skip out CRT altogether?
Original comment by unfocu...@gmail.com
on 25 Mar 2008 at 5:28
Original issue reported on code.google.com by
unfocu...@gmail.com
on 22 Mar 2008 at 6:19Attachments: