Embedding python in win32 (newbie question)

Mark Hammond MHammond at skippinet.com.au
Mon Jun 14 19:08:49 EDT 1999

You need to compile your app with "/MD".  This is to ensure that Python and
your app agree on the C runtime library, and thus understand each others
FILE and memory objects etc.


Ben wrote in message <7jh81b$ftc at wapping.ecs.soton.ac.uk>...
>it evaluates fine. Unfortunately, when I pass a file pointer e.g.
>FILE *fp;
>if(!fp) exit(0);
>it crashes the computer with a nasty access error.

More information about the Python-list mailing list