Results 1 to 6 of 6

Thread: Difference between ShellCopy and regular Copy

  1. #1
    Member marcuslee's Avatar
    Join Date
    Sep 2008
    Location
    Kansas, USA
    Age
    36
    Posts
    222
    Blog Entries
    2
    Rep Power
    32

    Difference between ShellCopy and regular Copy

    The description of ShellCopy says that a file is copied "using operating system file intrinsic operations." And, ShellDelete uses "operating system file operations." What does this mean?

    How is file_copy different than file_ShellCopy?

    Mark ???

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,281
    Blog Entries
    2
    Rep Power
    10

    Re: Difference between ShellCopy and regular Copy

    FILE... functions are functions mainly developed by us and they works at byte level.

    Shell... functions are wrappers of functionalities present in the OS environment. More info at http://msdn.microsoft.com/en-us/library/bb762164(VS.85).aspx
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3
    Member marcuslee's Avatar
    Join Date
    Sep 2008
    Location
    Kansas, USA
    Age
    36
    Posts
    222
    Blog Entries
    2
    Rep Power
    32

    Re: Difference between ShellCopy and regular Copy

    Is there a reason or situation to use one over the other?

    Mark

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,281
    Blog Entries
    2
    Rep Power
    10

    Re: Difference between ShellCopy and regular Copy

    Well, more or less no other than an undocumented (in thinBasic help) feature that FILE_Shell... functions support multiple file names passing them separated by a $NUL char.
    I will document it.

    MS documentation is at: http://msdn.microsoft.com/en-us/library/bb759795(VS.85).aspx
    Read fields pFrom and pTo

    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  5. #5
    Member marcuslee's Avatar
    Join Date
    Sep 2008
    Location
    Kansas, USA
    Age
    36
    Posts
    222
    Blog Entries
    2
    Rep Power
    32

    Re: Difference between ShellCopy and regular Copy

    Quote Originally Posted by Eros Olmi
    Well, more or less no other than an undocumented (in thinBasic help) feature that FILE_Shell... functions support multiple file names passing them separated by a $NUL char.
    I will document it.
    Seems like I am always giving you something to do.

    Mark

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,281
    Blog Entries
    2
    Rep Power
    10

    Re: Difference between ShellCopy and regular Copy

    Having nothing to do is the worst case.

    Anyway, do not exaggerate
    I'm just human
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Similar Threads

  1. regular expressions usage
    By zak in forum General
    Replies: 4
    Last Post: 24-04-2011, 18:23
  2. what's the difference
    By sandyrepope in forum UI (User Interface)
    Replies: 3
    Last Post: 14-01-2008, 23:17

Posting Permissions

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