[译]MultiCopier软件
By robot-v1.0
本文链接 https://www.kyfws.com/applications/multicopier-software-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 2 分钟阅读 - 990 个词 阅读量 0[译]MultiCopier软件
原文地址:https://www.codeproject.com/Articles/2605/MultiCopier-Software
原文作者:Ahmed Ismaiel Zakaria
译文由本站 robot-v1.0 翻译
前言
The fastest, easy way to copy files from different folders at the same time
同时复制不同文件夹中文件的最快,简便方法
- 下载带有帮助的源代码-255 Kb(Download source code with help - 255 Kb)
- 下载自注册软件包项目-689 Kb(Download Self-Registerable Package project - 689 Kb)
介绍(Introduction)
MultiCopier是最简单的方法,它允许用户通过简单的菜单扩展到shell,只需单击几下即可将其从不同的源(分区或文件夹)复制到目的地.(The MultiCopier is a the easiest way, that allows user to copy from different sources (partitions or folders) to the destination, in a few clicks with a simple menu extension to shell.)
它比Windows复制快20%,因为它不会在多个复制操作中共享CPU,而仅在单个线程(操作)中共享CPU.(It’s 20% faster than Windows copy as it didn’t share the CPU in multiple copying operations, but in only a single thread (operation).)
特征(Features)
该程序包括以下功能:(The program includes the following features:)
- 如何实施(How to implement)
IContextMenu
和管理外壳菜单以及与其关联的文件和文件夹.(and managing shell menu and the files and folder associated with it.) - 如何使用ATL在DLL中插入对话框(How to insert Dialogs in DLL’s using ATL)
- 从资源管理器获取图像列表并在列表控件中进行管理(Getting the image list from explorer and manage it in the list control)
- 一个简单的MAPI的好例子(用于向作者发送电子邮件的小功能(A good example of simple MAPI (small function used to send an E-mail to the author) 要了解更多使用此软件的信息,只需右键单击文件或文件夹或背景以获取菜单,然后选择(To learn more to use this software, just right click on the file or folder or background to get the menu, then choose)MultiCopier->使用方法(MultiCopier->How to use)
注册DLL(Registering the DLL)
您可以在编译后通过使用以下命令行在命令行中注册DLL.(You can register the DLL after compiling it by using this command line in the)*跑(Run)*对话.(dialog.)
regsvr32 "c:\mypath\mydll.dll" \\replace the path with the original path of the DLL
取消注册DLL(UnRegistering the DLL)
只需编写上一行,但使用参数(Simply by writing the previous line, but with the parameter) /u
如下:(as follows:)
regsvr32 /u "c:\mypath\mydll.dll"
学分(Credits)
我要感谢Michael Dunn,他提供了有关编写Shell扩展的出色教程以及非常有用的类(I would like to thank Michael Dunn, for his great tutorial on writing shell extensions and his extremely useful class) CShellFileOp
用于复制和移动文件(for copying and moving files)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
VC7.0 C++ VC6 WinXP Windows Win2K MFC ATL Visual-Studio Dev 新闻 翻译