OFFFILT.DLL.from program file not working in few servers in C#. Getting System.AccessViolationException exception

0

I am using code to read all kind of files and to achieve that i am using code available in below link.

https://www.codeproject.com/Articles/13391/Using-IFilter-in-C

This code internally using OFFFILT.DLL.

This dll available in below two location in any windows system.

C:\Program Files\Common Files\Microsoft Shared\Filters\OFFFILT.DLL

C:\Windows\System32\OFFFILT.DLL

My application using OFFFILT.DLL from program files. In couple of servers it is not working and I am getting below error.

System.AccessViolationException HResult=0x80004003 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source= StackTrace:

c#
filereader
asked on Stack Overflow Apr 18, 2021 by Amit Rawat

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0