4 Dec
2014
4 Dec
'14
1:53 p.m.
On 3 Dec 2014 at 18:03, Stephan T. Lavavej wrote:
Out of curiosity, does VC thunk through to the Windows Crypto API, and therefore require that the environment variable block contains the right COM initialisation magic (I ran into this "feature" recently, it was confounding)?
VC's random_device calls the CRT's rand_s which calls Windows' RtlGenRandom. There's no COM interaction, to my knowledge. (rand_s has a different codepath for Windows Store apps).
That is very useful to know, and actually solves a problem I have forthcoming at work. Thanks Stephan. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/