my c# application calls a c++ function of an external DLL using dll import tag:
[DllImport("UserAuthentication.dll")]
private static extern int Validate(string pScrambeled, string szReadable, int flToUpper, string pstrErr);
int WINAPI ValidateAMOSBS(TCHAR *pScrambeled, TCHAR* szReadable, int flToUpper, TCHAR *pstrErr)
Only on one server, and when it is called by an ASP.NET application hosted on IIS, it thrown System.AccessViolationException. We try to change X86, X64 compilation and to reinstall VC++ redistributable without success. Do you have any suggestions?
Thanks,
Davide