Well, if a file is open in one application Windows won't allow another application to delete it. This could apply to libraries as well. John On Wed, Jul 17, 2013 at 01:37:27PM -0400, Brandon Roller wrote: > I don't really understand your response. Could you explain? > If nothing is ever written to the log it can be deleted, but if the file is > written to then it can't. > It seems like the issue may be related to when the file is being written to. > > > On Wed, Jul 17, 2013 at 12:54 PM, John J. Boyer < > john.boyer@xxxxxxxxxxxxxxxxx> wrote: > > > Maybe Windows thinks that liblouisutdml is still using the file. > > > > John > > > > On Wed, Jul 17, 2013 at 12:44:38PM -0400, Brandon Roller wrote: > > > Yes, classes like CheckLibLouisUTDMLLog can read the file. The file has > > > read and write permissions. > > > > > > > > > On Wed, Jul 17, 2013 at 12:32 PM, John J. Boyer < > > > john.boyer@xxxxxxxxxxxxxxxxx> wrote: > > > > > > > That is odd. Can you read the file? Do the methods for displaying it > > > > work? They are called something like shorLiblouisutdmlLog . What are > > the > > > > permissions on the file? > > > > > > > > Thanks, > > > > John > > > > > > > > On Wed, Jul 17, 2013 at 11:14:15AM -0400, Brandon Roller wrote: > > > > > OK, it looks like we are on the right track. > > > > > If everything goes smoothly with no errors occurring in > > liblouisutdml or > > > > > liblouis I can now delete the file, but if an error occurs I still > > can't > > > > > delete it. > > > > > For example, if a parsing error occurs and the method translateFile > > > > returns > > > > > false, I can't delete the log. > > > > > > > > -- > > > > John J. Boyer; President, Chief Software Developer > > > > Abilitiessoft, Inc. > > > > http://www.abilitiessoft.com > > > > Madison, Wisconsin USA > > > > Developing software for people with disabilities > > > > > > > > > > > > > > > > -- > > John J. Boyer; President, Chief Software Developer > > Abilitiessoft, Inc. > > http://www.abilitiessoft.com > > Madison, Wisconsin USA > > Developing software for people with disabilities > > > > > > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities