Thank you. Will try your suggestion and let you know. This will probably be over the weekend.
On 18 August 2010 03:24, Mark Hammond <[email protected]> wrote: > On 18/08/2010 1:51 AM, kabelo wrote: > >> Hi >> >> I have written a program that uses win32ras on a windows vista machine >> with ActiveState's python 2.6.5.12. >> I can create an executable with py2exe which works fine on the windows >> vista machine, however, when >> installing on another machine (windows XP in this case) I get the >> following error. >> >> File "win32ras.pyo", line12, in <module> >> File "win32ras.pyo", line 10, in __load >> ImportError: DLL load failed: The specified procedure could not be found >> >> Does anyone know why this would happen? >> > > Check for "extra" DLLs being bundles with your application - py2exe can > sometimes mistakenly pick up some OS DLLs from the windows the distribution > was built on, which then fail to load on different OS versions. > powrprof.dll is a regularl culprit. Once you find them, tell py2exe to > ignore them (using dll_excludes IIRC). > > Cheers, > > Mark >
_______________________________________________ python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
