Prev: php_dba.dll with DB4
Next: Original Source
From: Thomas Anderson on 17 Feb 2010 11:56 Hi, I need to use RNGCryptoServiceProvider in PHP. I have tried: $rng = new DOTNET("mscorlib", "System.Security.Cryptography.RNGCryptoServiceProvider"); $arr = array(0); $v = new VARIANT($arr,VT_ARRAY); $rng->GetBytes($v); unset($rng); The component loads fine. But I got this error: Fatal error: Uncaught exception 'com_exception' with message 'Error [0x80070057] The parameter is incorrect. Any ideas?
|
Pages: 1 Prev: php_dba.dll with DB4 Next: Original Source |