写一个Copyfile()函数,
要求在拷贝单个文件的时候能通过ProgressBar显示其拷贝进度。
帮我搞定啊!
要求在拷贝单个文件的时候能通过ProgressBar显示其拷贝进度。
帮我搞定啊!
解决方案 »
- 请问DELPHI下判断ORACLE里的表名是否
- delphi8.0
- 高手帮忙 出现debugger kernel BORDBK.DLL is missing or not registered提示,不能编译程序了
- 谁有微软播放器控件的例子下载activx那个
- 用query查询出来的内容怎么更改呢?我修改的时候,他说:不能修改一个只读dataset,可是我没有设任何只读啊!
- ADOQuery中两条SQL语句是否能一起执行(ExecSQL)?
- 跪求智者,本人刚完成一个c/s的项目,用的delphi开发,现想将client通过ocx放入IE中,该如何实现啊
- RemObjects客户端调用Commadns更新服务
- decisioncube实现表格
- 菜鸟学飞:为什么会错了?
- 高手们进来看一下,这里的代码有一点要改动,但我改动不成功。
- 急。。。。。。。。。
Fo : TSHFileOpStruct;
buffer : array[0..4096] of char;
p : pchar;begin
FillChar(Buffer, sizeof(Buffer), #0);
p := @buffer;
{ p := StrECopy(p, 'C:\DownLoad\1.ZIP') + 1;
p := StrECopy(p, 'C:\DownLoad\2.ZIP') + 1;
p := StrECopy(p, 'C:\DownLoad\3.ZIP') + 1;
StrECopy(p, 'C:\DownLoad\4.ZIP');
}
p := StrECopy(p, 'C:\Temp') + 1;
StrECopy(p, 'C:\BaseClass.txt'); FillChar(Fo, sizeof(Fo), #0);
Fo.Wnd := Handle;
Fo.wFunc := FO_COPY;
Fo.pFrom := @Buffer;
Fo.pTo := 'D:\';
Fo.fFlags := 0;
if ((SHFileOperation(Fo) <> 0) or
(Fo.fAnyOperationsAborted <> false)) then
ShowMessage('Cancelled')
end;
[Error] Unit1.pas(28): Undeclared identifier: 'TSHFileOpStruct'
[Error] Unit1.pas(44): Undeclared identifier: 'FO_COPY'。。