Problems embedding Python
Mark Hammond
mhammond at skippinet.com.au
Sat Jan 31 21:29:38 EST 2004
Psymaster wrote:
> I've tried running scripts from the embedded interpreter but it doesn't
> work. If I try the same scripts as strings to interpret it works. Here
> is my program:
...
> This compiles and links under MSVC 6 but when run crashes. Any help?
You are almost certainly not linking with the correct CRTL. You *must*
use the /MD compiler option for release builds, or /MDd for debug builds.
Mark.
More information about the Python-list
mailing list