This error occurs when using py2exe on a vista machine and trying to run the resulting EXE on an XP machine. In looking into this in more detail, it seems that the Vista machine run adds in an additional DLL file that is not needed (at least in my case) and this additional DLL is the cause of the error.
See http://www.thescripts. com/forum/thread730751.ht ml
I am using wxPython with pySerial. Then assembling everything with py2exe and using NSIS to build an install file. If I do the builds on the XP machine, the result will install and run on both XP and Vista, but if I do the builds on Vista, the result will install on both XP and Vista, but will only run on Vista.
The extra DLL is named: MSWSOCK.DLL
I assume this DLL has something to do with sockets, which I am not needing in my program. I am not sure why it gets included.
See http://www.thescripts. com/forum/thread730751.ht ml
I am using wxPython with pySerial. Then assembling everything with py2exe and using NSIS to build an install file. If I do the builds on the XP machine, the result will install and run on both XP and Vista, but if I do the builds on Vista, the result will install on both XP and Vista, but will only run on Vista.
The extra DLL is named: MSWSOCK.DLL
I assume this DLL has something to do with sockets, which I am not needing in my program. I am not sure why it gets included.
Comment