<div dir="rtl"><div dir="ltr">Thanks, Sebastian, David Chisnall corrected me.</div><div dir="ltr">random_device() was finally implemented based on rand_s() from MSVCRT.</div><div dir="ltr"><br></div><div dir="ltr">Yaron</div>

<div dir="ltr"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/10/8 Sebastian Redl <span dir="ltr"><<a href="mailto:sebastian.redl@getdesigned.at" target="_blank">sebastian.redl@getdesigned.at</a>></span></div>

<blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 2013-10-07 22:20, Yaron Keren wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="rtl">
        <div dir="ltr">The actual data type is <span style="font-family:Consolas,Courier,monospace;font-size:14.166666030883789px;line-height:16.66666603088379px;color:blue">typedef</span><span style="line-height:16.66666603088379px;font-size:14.166666030883789px;font-family:Consolas,Courier,monospace">
            ULONG_PTR HCRYPTPROV;</span></div>
        <div dir="ltr">I found two conflicting descriptions in <a href="http://microsoft.com" target="_blank">microsoft.com</a>
          for ULONG_PTR:</div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">The first <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx</a> says
          it's always 64 bits:</div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">
          <pre style="line-height:16.66666603088379px;font-size:14.166666030883789px;overflow:auto;margin-bottom:0px;font-family:Consolas,Courier,monospace;word-wrap:normal;margin-top:0px;padding:5px">#<span style="color:blue">if</span> defined(_WIN64)
 <span style="color:blue">typedef</span> <span style="color:blue">unsigned</span> __int64 ULONG_PTR;
#<span style="color:blue">else</span>
 <span style="color:blue">typedef</span> <span style="color:blue">unsigned</span> <span style="color:blue">long</span> ULONG_PTR;
#endif</pre>
        </div>
        <br>
      </div>
    </blockquote></div>
    unsigned long is always 32 bits on Microsoft's compiler.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Sebastian<br>
  </font></span></div>

<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>