[C++-sig] Re: please help with simple program crashing

Drew Ferraro gfilla at gmail.com
Fri Jul 2 09:44:42 CEST 2004

thanks for your reply. i actually did build python with this compile
though. i was reading the instructions, and it told me of a VC6
project which had everything set up so i could just open it and
compile it. well i opened it up, it converted to the 7.1 version.. i
was able to compile it in both debug and release mode.. then i put the
lib files in my vc/lib7 directory.. i was able to get other code to
work, but SimpleFile is making it crash like this. i just dont know
what the problem could be if i do have the right version... thanks for
anymore help!!

On Thu, 01 Jul 2004 23:34:06 -0400, David Abrahams
<dave at boost-consulting.com> wrote:
> Drew Ferraro <gfilla at gmail.com> writes:
> > hi dave,
> >
> > thanks for your reply! this might sound stupid, but could you tell me
> > what i should do then to have them both use the same standard library?
> > im using visual studio .net 2003 if that matters.
> Yes, it matters.  You need to rebuild your python with that compiler
> or resign yourself to not passing FILE* between python and your
> extension module.
> > also, what is the
> > alternative to Py_Finalize
> Simply not calling it.
> > , and why is it incompatible but the other Py_XXX function are not ?
> see http://www.boost.org/libs/python/todo.html#pyfinalize-safety
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig

More information about the Cplusplus-sig mailing list