Re: Files locked after encryption, until objects d (General questions)
Immediately after calling iole_crypt.Encrypt(infileBlob, outfileBlob), I try opening both files with read/write locking, and I cannot do that for either one.
I found a work-around. If immediately after the Encrypt() call, I do:
iole_infile.FileName =
iole_outfile.FileName =
the files are then unlocked. Perhaps your docs could reflect something about that requirement? (Of course, it's only a requirement if you aren't immediately destroying the objects, but it's not obvious that you should have to do so. Perhaps I'd prefer to create the objects, and just keep them around for whenever the program needs to do encryption.)
Complete thread:
- Files locked after encryption, until objects destr - DanCooperstock, 2012-01-12, 15:28
- Re: Files locked after encryption, until objects d - woddrazen, 2012-01-12, 15:44
- Re: Files locked after encryption, until objects d - DanCooperstock, 2012-01-12, 16:04
- Re: Files locked after encryption, until objects d - wodDamir, 2012-01-12, 16:18
- Re: Files locked after encryption, until objects d - DanCooperstock, 2012-01-12, 16:40
- Re: Files locked after encryption, until objects d - DanCooperstock, 2012-01-12, 16:45
- Re: Files locked after encryption, until objects d - wodDamir, 2012-01-12, 17:00
- Re: Files locked after encryption, until objects d - flogger123, 2012-01-26, 15:39
- Re: Files locked after encryption, until objects d - woddrazen, 2012-01-26, 15:48
- Re: Files locked after encryption, until objects d - flogger123, 2012-01-26, 15:39
- Re: Files locked after encryption, until objects d - wodDamir, 2012-01-12, 17:00
- Re: Files locked after encryption, until objects d - DanCooperstock, 2012-01-12, 16:45
- Re: Files locked after encryption, until objects d - DanCooperstock, 2012-01-12, 16:40
- Re: Files locked after encryption, until objects d - wodDamir, 2012-01-12, 16:18
- Re: Files locked after encryption, until objects d - DanCooperstock, 2012-01-12, 16:04
- Re: Files locked after encryption, until objects d - woddrazen, 2012-01-12, 15:44