On Mar 23, 7:48 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote: > > And replace all places where a Python file goes into a C extension, with > exportable_file(f) What about calling mscvrt_get_osfhandle from inside the SWIG wrapper? I tried this but it seemed that the function was not exported to the DLL. Cheers JP