Results 1 to 10 of 20

Thread: asynchronous file operations

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member DirectuX's Avatar
    Join Date
    Oct 2018
    Location
    France
    Posts
    417
    Rep Power
    55

    Question asynchronous file operations

    Hi,

    thinBasic\SampleScripts\UI\Power\Power_Messages.tBasic is a sample that can detect power status changes via callback management.

    I'm in search of such behaviour for complete filesystem interaction.

    As a start I studied the file copy feature:

    Both FILE_Copy and FILE_ShellCopy are synchronous functions. None can expose the copy progression to the script.

    Instead, MS documentation shows two relevant entries: IFileOperation interface and CopyFileExW function.

    Before moving in any direction, I would like to ask :
    • advices for which of these two last way-suggestions would be the fittest and convenient to implement ?
    • in your opinion, which shape the implementation should take ?
    • if you think of another way ?
    • any other thought about this ?
    Last edited by DirectuX; 02-02-2020 at 20:10. Reason: + question and text formatting
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

Similar Threads

  1. Demonstration of matrix operations
    By Petr Schreiber in forum TBGL Tutorials
    Replies: 4
    Last Post: 30-03-2009, 16:24

Members who have read this thread: 1

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •