PDA

View Full Version : Difference between ShellCopy and regular Copy



marcuslee
10-09-2008, 01:37
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 ???

ErosOlmi
10-09-2008, 06:54
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

marcuslee
10-09-2008, 15:45
Is there a reason or situation to use one over the other?

Mark

ErosOlmi
10-09-2008, 16:19
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

marcuslee
10-09-2008, 16:32
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

ErosOlmi
10-09-2008, 16:38
Having nothing to do is the worst case.

Anyway, do not exaggerate ;)
I'm just human