[python-win32] win32ras and py2exe

pard pardmeister at gmail.com
Wed Aug 18 10:10:20 CEST 2010


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 <skippy.hammond at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100818/7d3d4247/attachment.html>


More information about the python-win32 mailing list