Delphi打開窗體時報"Corrupt Portfolio Stream"

今天在打開一個Delphi窗體時報了這麼一個錯誤:

  Corrupt Portfolio Stream

查了一下,主要是由於Delphi窗體的*.ddp文件損壞引起的.

解決方法: 刪除.ddp 文件,重新打開窗體即可。

有時候還是不行,這個時候用記事本打開 那個.dfm文件,通常窗體都是以Text形式存儲的,如果發現是二進制代碼,那麼八成窗體文件也壞了,這個時候刪除這個窗體文件, 把 *.~dfm備份文件改名字成 *.dfm ,然後就可以了。

關於*.ddp file,

Delphi Diagram Portfolio (*.ddp) files contain documentation diagrams created with Diagram tab near the bottom right corner of the Editor window. For more information, please see the "About the Diagram page" Delphi Help topic. 
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章