<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot for your E-mail.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm using Python 2.4.3 and Visual Studio C++ 2008.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>Navid<BR><BR>--- On <B>Wed, 1/14/09, Lenard Lindstrom <I>&lt;len-l@telus.net&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Lenard Lindstrom &lt;len-l@telus.net&gt;<BR>Subject: Re: [Pyrex] Runtime Library Error<BR>To: "Pyrex ML" &lt;pyrex@lists.copyleft.no&gt;<BR>Date: Wednesday, January 14, 2009, 11:43 PM<BR><BR><PRE>Hi again,

Which version of Python and VC compiler are you using. There are 
difficulties with Python 2.6 and this looks like a Windows 
assembly/manifest file problem.

Lenard


Navid Parvini wrote:
&gt;
&gt; Dear All,
&gt;
&gt;  
&gt;
&gt; I have run the “Setup.py” file in “Pyrex-0.9.8.2\Demos”
folder, the 
&gt; “primes.c”, “primes.pyd”, “primes.pyd.manifest”, etc. files
had been 
&gt; created.
&gt;
&gt;  
&gt;
&gt; But when I run the “run_primes.py” module I got the following error:
&gt;
&gt;  
&gt;
&gt; Traceback (most recent call last):
&gt;
&gt;   File "run_primes.py", line 2, in ?
&gt;
&gt;     from primes import primes
&gt;
&gt; ImportError: DLL load failed: A dynamic link library (DLL) 
&gt; initialization routin
&gt;
&gt; e failed.
&gt;
&gt;  
&gt;
&gt; Also an error message popped up that was related to “Microsoft Visual 
&gt; C++ Runtime Library”. Please see the attached file.
&gt;
&gt;  
&gt;
&gt; Would you please help me? Also how can I created primes.dll file?
&gt;
&gt;  
&gt;
&gt; Thank you in advance.
&gt;
&gt;  
&gt;
&gt; Regards,
&gt;
&gt; Navid
&gt;
&gt;
&gt;
&gt; ------------------------------------------------------------------------
&gt;
&gt; ------------------------------------------------------------------------
&gt;
&gt; _______________________________________________
&gt; Pyrex mailing list
&gt; Pyrex@lists.copyleft.no
&gt; http://lists.copyleft.no/mailman/listinfo/pyrex
&gt;   


-- 
Lenard Lindstrom
&lt;len-l@telus.net&gt;


_______________________________________________
Pyrex mailing list
Pyrex@lists.copyleft.no
http://lists.copyleft.no/mailman/listinfo/pyrex
</PRE></BLOCKQUOTE></td></tr></table><br>