> I was at my customer's site from 8/20-8/31/13.  On 8/21, we discovered
> that all of the PRGs in \SBT7\AP\ were empty.  Date and time stamps were
> untouched.  We are converting an old VisionPoint, SBT7 program to Visual
> FoxPro.
>

I've seen similar behavior with virus scanners. The suddenly block access
to a file so initially you can open or read, but suddenly there's an error.
If that happens during a read, the file might appear empty even if it is
not. If it happens during a write, the file will be empty.

PRG and SPR have one other problem in VFP. When VFP saves a file, it
renames the original, saves the new one, deletes the copy and then renames
the new one. When the PRG/SPR files is opened with a read lock by another
program (usually a virus scanner or a text viewer), the delete operation
succeeds, but does not actually delete the file. Rather it's marked as
DELETE_PENDING, which means the file will be deleted once the reading
program closes the file. Since the file still exist, the final rename
fails. As a result you end up with no PRG file, at all.

In your case, I'd demand that they keep running ProcMon with a capture
filter on PRG files. If there's an access problem you would note it there.

-- 
Christof


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAL4QJhh=rtdMSZ7b=YDFODL=7HF7__XWk=voeqp1wcgt77x...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to