从新安装Delphi6 之后报 File not found:'OfficeXP.pas'错误?
由于从新进行安装了操作系统,然后对delphi6.0 进行从新安装,结果 安装完成 之后,原来 的程序报如下错误:
[Error] ExcelXP.pas(369): Invalid compiler directive: 'VARPROPSETTER'
[Fatal Error] File not found: 'E:\W校外作品\VCL组件\A加载组件\OfficeXP.pas'
我按错误提示,从新复制了一文件OfficeXP.pas,结果又报如下错误:
[Error] ExcelXP.pas(369): Invalid compiler directive: 'VARPROPSETTER'
[Error] OfficeXP.pas(91): Invalid compiler directive: 'VARPROPSETTER'
[Fatal Error] ExcelXP.pas(372): Could not compile used unit 'OfficeXP.pas'
不知为何,很是无奈,请大家指教.