2008/6/4 David Cournapeau <[EMAIL PROTECTED]>: > On Wed, Jun 4, 2008 at 11:38 AM, 甜瓜 <[EMAIL PROTECTED]> wrote: > >> Well, IMO, the format of binary files generated by VC2003 and >> VC2005 is compatible in most cases. > > Problem arise with the C runtime, not with object file format. In > particular, python uses the C api for file handling, and the standard > C is definitely not ABI compatible within VS versions. Maybe VS runtime library is a problem, but I don't think VS binary is in compatible with ISO C ABI. If so, VS-built application can not call any function in libraries built by other C compiler even with __cdecl extern "C" specifications.
> I strongly advise you against using VS 2005 (with the binary python; > if you build python by yourself, then no problem; I don't know if it > is possible to build python with VS 2005). You *will* get crashes in > many cases. > > David > --- ShenLei -- http://mail.python.org/mailman/listinfo/python-list