Announcement

Collapse
No announcement yet.

FileCopy, shared filecopy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Edwin Knoppert
    replied
    Thanks!

    ------------------
    http://www.hellobasic.com

    Leave a comment:


  • Lance Edmonds
    replied
    LOCK SHARED should be Ok, as should LOCK WRITE. The default lock mode is LOCK READ WRITE, and this will certainly cause FILECOPY to fail.

    Basically, the doc's are ERRing on the side of caution here...

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Edwin Knoppert
    started a topic FileCopy, shared filecopy

    FileCopy, shared filecopy

    I have opened a file.
    For conversion reason and speed i don't like to reopen it after validation.
    I need to filecopy it while it's open.
    This all works fine but the helpfiles states:
    "If you attempt to copy a file that is open, an error will occur"

    The file is opened shared.

    Can this still be a problem?


    ------------------
    http://www.hellobasic.com
Working...
X