I have used window server, Laravel 5.4
we need to run dll file under my project to encrypt user name and password, I have used given below code as well but it's not working showing some error.
Error is :
Bad extension for file
Failed to create COM object `C:\Windows\Microsoft.NET\assembly\GAC_MSIL\EntraPassUtility\v4.0_1.0.0.2__ecc8607640d67af4\EntraPassUtility.dll': Bad extension for file
// my code here start :
use \COM ; top of controller
// this is under my function
$obj = new COM('C:\Windows\Microsoft.NET\assembly\GAC_MSIL\EntraPassUtility\v4.0_1.0.0.2__ecc8607640d67af4\EntraPassUtility.dll');
// End
please find out the best solution for run DLL file under my Laravel project on window server.
Thanks