Friends Good afternoon! Please help her with the following.
I have been given a DLL which I have no idea what language was programmed and I'm not sure it's an object to use in .NET environments. This dll is encrypted, but the idea is to use a function which is in it. This function is defined as follows:
Validate (String PW, ref String EncrPW, ref String Status);
When invoked in the following way:
try
{
ODBMSSecEncr D = new ODBMSSecEncr();
D.Validate("mflores",ref EncrPW, ref Status);
}
catch (Exception ex)
{
Console.WriteLine(ex.StackTrace);
}
Throw the following error:
ErrorCode: -2146828275 Message: Type mismatch StackTrace: in ODBMSSec._ODBMSSecEncr.Validate (String PW, String & EncrPW, String & Status) in ControlInsumos.Global.Application_Start (Object sender, EventArgs e) in C: \ Users \ JADM \ Documents \ Visual Studio 2010 \ Projects \ ControlInsumos \ ControlInsumos \ Global.asax.cs: line 32
Please help with this! Thanks in advance.
Greetings.