[C++-sig] Re: please help with simple program crashing
gfilla at gmail.com
Fri Jul 2 10:07:51 CEST 2004
now that i think about it... you were talking about the python library
when i was talking about the boost::python library. i just dont
understand though.. are you talking about the Python C++ libs? why
would they use a different FILE*, i mean, wouldnt there libs link to
my headers ? and how would i go about making them use the same version
anyway? i have Python 2.3 and visual studio 7.1... thanks for anymore
On Fri, 2 Jul 2004 03:44:42 -0400, Drew Ferraro <gfilla at gmail.com> wrote:
> 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