的錯誤,不知道什麼原因,剛開始只有重裝Delphi才解決問題,後來察看Borland官方網站得知,其實只是環境庫路徑丟失造成的,解決方法很簡單,如果你D7安裝默認的路徑,則只需要打開Delphi菜單,選擇Tools->Environment Options然後選擇Library標籤,在Library Path添加如下內容就行了:
-------------------------------------------------------------------
c:\Program Files\Borland\Delphi7\Lib;c:\Program Files\Borland\Delphi7\Bin;c:\Program Files\Borland\Delphi7\Imports;c:\Program Files\Borland\Delphi7\Projects\Bpl;c:\Program Files\Borland\Delphi7\Rave5\Lib
-------------------------------------------------------------------
如果不是默認路徑,則添加你自己的那些路徑就行了。