[Baypiggies] p2exe combined with building C extension for python on WinXP with Visual C++ 2005
David Berthelot
d_berthelot at yahoo.com
Tue Apr 22 09:11:59 CEST 2008
Hi,
I wrote an application in python and C that I am trying to port to Windows XP (and that's where my nightmare begins). I couldn't find Visual C++ 2003 as recommended in the documentation since Microsoft removed it from download (generously offering 2005 express or 2008 express instead).
Now I have installed 2005 and I managed to build my extension module, so far so good, it loads in python and works.
The next step was to make this application and standalone program, so I naturally turned to py2exe. Basically it creates an archive (for which I must embed manually msvcm80.dll and msvcr80.dll). The executable works on my local computer.
The problem is that when I copy this archive to another windows XP computer, it starts fine but the binary module compiled with express 2005 crashes when invoked (all other modules included binaries of wxpython which I supposed were compiled on express 2003 are running fine). How could I solve this problem ?
Thanks,
David
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20080422/d124c67f/attachment.htm>
More information about the Baypiggies
mailing list