Example #1
0
HRESULT CThreadCopyFrom::ProcessVirt()
{
  UStringVector fileNames;
  CRecordVector<const wchar_t *> fileNamePointers;
  fileNames.Add(Name);
  fileNamePointers.Add(fileNames[0]);
  return FolderOperations->CopyFrom(PathPrefix, &fileNamePointers.Front(), fileNamePointers.Size(), UpdateCallback);
};
Example #2
0
 void Process()
 {
   try
   {
     CProgressCloser closer(ProgressDialog);
     Result = FolderOperations->CopyFrom(
       MoveMode,
       FolderPrefix,
       &FileNamePointers.Front(),
       FileNamePointers.Size(),
       UpdateCallback);
   }
   catch(...) { Result = E_FAIL; }
 }