❔ What does this exception mean?
(Sorry for reposting as I already put it in the help chat and don't want it to get buried)
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
Basically I am passing a File Path as a string to another classfile and this classfile uses a dll and reads the File provided to a array. as soon as it gets to the code that do a value change onto the file, this exception is thrown.
The File in question is not accessed or being used by any other method and the path is correctly seen in the class file too.