E
emarkp
I'm using an aging library that I can't port to .Net. It reads a file
and parses it into a structure.
The problem I'm having is that in a mixed assembly (/clr) when I call
the library, it returns an error saying the file is locked. Problem
is, it only gets locked when I try to load the file.
I can replicate the problem with fopen--the open fails saying the file
is already locked, but it's fopen that's trying to lock it in teh
first place.
Has anyone run into this? Is there a general solution?
and parses it into a structure.
The problem I'm having is that in a mixed assembly (/clr) when I call
the library, it returns an error saying the file is locked. Problem
is, it only gets locked when I try to load the file.
I can replicate the problem with fopen--the open fails saying the file
is already locked, but it's fopen that's trying to lock it in teh
first place.
Has anyone run into this? Is there a general solution?