Thank you. Will try your suggestion and let you know. This will probably be over the weekend.<br><br><div class="gmail_quote">On 18 August 2010 03:24, Mark Hammond <span dir="ltr">&lt;<a href="mailto:skippy.hammond@gmail.com">skippy.hammond@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On 18/08/2010 1:51 AM, kabelo wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
<br>
I have written a program that uses win32ras on a windows vista machine<br>
with ActiveState&#39;s python 2.6.5.12.<br>
I can create an executable with py2exe which works fine on the windows<br>
vista machine, however, when<br>
installing on another machine (windows XP in this case) I get the<br>
following error.<br>
<br>
File &quot;win32ras.pyo&quot;, line12, in &lt;module&gt;<br>
File &quot;win32ras.pyo&quot;, line 10, in __load<br>
ImportError: DLL load failed: The specified procedure could not be found<br>
<br>
Does anyone know why this would happen?<br>
</blockquote>
<br></div></div>
Check for &quot;extra&quot; 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).<br>

<br>
Cheers,<br><font color="#888888">
<br>
Mark<br>
</font></blockquote></div><br>