rafcarter1977
October 6th, 2005, 12:18 AM
I am comparing 2 exe's together. First I took the hash code that is generated from the first exe and want to check it against another exe.
This works ok if the exe is not inuse. As soon as I start one of the exe's and try running the hash code compare, it bombs and says
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll
Additional information: The process cannot access the file "C:\file.exe" because it is being used by another process.
Is there any way I can still read this file if it is inuse ? Its important to me that I read this file when its running.
Any help please?
This works ok if the exe is not inuse. As soon as I start one of the exe's and try running the hash code compare, it bombs and says
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll
Additional information: The process cannot access the file "C:\file.exe" because it is being used by another process.
Is there any way I can still read this file if it is inuse ? Its important to me that I read this file when its running.
Any help please?