<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link style="font-family: arial,helvetica,sans-serif;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CNavid%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">Dear All,</font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">I have run the “Setup.py” file in “Pyrex-0.9.8.2\Demos”
folder, the “primes.c”, “primes.pyd”, “primes.pyd.manifest”, etc. files had
been created. </font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">But when I run the “run_primes.py” module I got the
following error: </font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif; font-weight: bold;" class="MsoNormal"><font size="3">Traceback (most recent call last):<o:p></o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif; font-weight: bold;" class="MsoNormal"><font size="3"><span style=""> </span>File "run_primes.py",
line 2, in ?<o:p></o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif; font-weight: bold;" class="MsoNormal"><font size="3"><span style=""> </span>from primes import
primes<o:p></o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif; font-weight: bold;" class="MsoNormal"><font size="3">ImportError: DLL load failed: A dynamic link library (DLL) initialization
routin<o:p></o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif; font-weight: bold;" class="MsoNormal"><font size="3">e failed.</font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">Also an error message popped up that was related to “<span style="font-weight: bold;">Microsoft
Visual C++ Runtime Library</span>”. Please see the attached file.</font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">Would you please help me? Also how can I created <span style="font-weight: bold;">primes.dll</span>
file?</font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">Thank you in advance.</font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3"><o:p> </o:p></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">Regards,</font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="3">Navid</font></p></td></tr></table><br>