写“U盘文件复制工具”碰到了一些问题
我正在写一个“U盘文件复制工具”,其中碰到了一些问题:[警告] unitFrmMain.pas(7): Unit 'FileCtrl' is specific to a platform
[警告] unitFrmMain.pas(91): Unsafe code '@ operator'
[警告] unitFrmMain.pas(115): Unsafe code '@ operator'
[警告] unitFrmMain.pas(123): For loop control variable must be simple local variable
[警告] unitFrmMain.pas(125): Unsafe type 'PChar'
[警告] unitFrmMain.pas(128): Unsafe type 'PChar'
[警告] unitFrmMain.pas(129): Unsafe type 'PChar'
[警告] unitFrmMain.pas(133): Unsafe type 'pFrom: PAnsiChar'
[警告] unitFrmMain.pas(133): Unsafe code '@ operator'
[警告] unitFrmMain.pas(134): Unsafe type 'pTo: PAnsiChar'
[警告] unitFrmMain.pas(134): Unsafe code '@ operator'
[错误] unitFrmMain.pas(152): Statement expected, but expression of type 'TMenuItem' found
[致命错误] prjShellApi.dpr(6): Could not compile used unit 'unitFrmMain.pas'
另外,还有这个程序根本不能实现复制U盘文件的功能。
故小弟在此求助各位老鸟,希望能得到帮助,谢谢谢谢,多谢多谢。
U盘文件复制工具.rar
(183.91 KB)