请问在delphi中如何调用CopyAFile等Win32函数,为什么我直接调用CopyAFile,报告[Error] Unit1.pas(29): Undeclared identifier: 'CopyAFile'错误呢

解决方案 »

  1.   

    CopyAFile是Win32函数吗?~~你自己到MSDN上找找~~Results for: CopyAFile
    All Results
    View results in another search category by clicking a link in the right column...
    Show Me:
    All Results
    MSDN Library & Technical Resources
    Knowledge Base & Support
    Code & Downloads
    Communities & Newsgroups
    Training & Books
    Partner & Business Resources
    Product Information
    Microsoft News & Corporate InformationSorry, no results were found.
      

  2.   

    it shoulb beCopyFileA -> CopyFile for ANSI
    CopyFileW -> CopyFile for WideChar但是你调用就直接使用 CopyFile 系统会进行自动转换...