翻譯Borland? Delphi? 2005使用 VCL for .NET移植到 .NET(1)[27]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 aiirii 的 blog

[error] sortthds.pas(72): e2305 'self' might not have been initialized

[error] sortthds.pas(112): e2396 unsafe code only allowed in unsafe procedure

[fatal error] thsort.pas(39): f2063 could not compile used unit 'sortthds.pas'

 

這個錯誤的實質是, 我們能夠在初始化一些特定的屬性後再呼叫inherited構造器. 然而, 除非你有很好的理由不這樣做, 建議的做法是在使用自定義的代碼前先呼叫inherited構造器. 這個錯誤當然非常容易修改.

 

本文关键:翻譯Borland? Delphi? 2005使用 VCL for .NET移植到 .NET(1)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top