Embedded Python 1.5.1 crashes under WIN32

Adrian Eyre a.eyre at optichrome.com
Wed Nov 24 04:29:11 EST 1999

> What I want to do is to call PyRun_SimpleFile from my main program. This
> works fine under Irix 6.5, but the same thing crashes inside
> PyRun_SimpleFile when compiled with VC6.0SP2 under Win32, which is a
> great pity.

Make sure you aren't mixing runtime DLLS.
i.e. only build debug (MSVCRTD) code with the debug lib (python15_d.lib)
and same for release (MSVCRT + python15.lib)

Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644

More information about the Python-list mailing list