提示错误 !
[Fatal Error] Umain.pas(16): Unit EncrptyPas was compiled with a different version of Umain.FrmMain
当我自己写如新函数的时候和添加新的按钮时候 就提示这样的错误 怎么回事啊?

解决方案 »

  1.   

    编译又说找不到[Fatal Error] BmpRictEdit.dpr(40): File not found: 'EncrptyPas.dcu'
      

  2.   

    找不到文件吧
    把此文件托到工程文件里,
    或者在工程文件的 Options属性的Directories/Conditionals页的  Search Path中添加EncrptyPas.pas文件所在的目录
      

  3.   

    1.重新编译就好了
    2.编译又说找不到[Fatal Error] BmpRictEdit.dpr(40): File not found: 'EncrptyPas.dcu'
      找到EncrptyPas.pas路径,加入到你工程的library path里就好了。
      

  4.   

    正解project——add to project——EncrptyPas.pas