我得到一個錯誤:tagBitmap @ DELPHI ???什麼樣的?
[DCC錯誤] Unit_TProcessClass.pas(334):E2010不兼容的類型: 'TBitmap' 和 'tagBITMAP'
的類被定義爲
TMyClass = Class
private
MyBMP : TBitmap;
property aBMP : TBitmap read MyBMP write MyBMP;
和代碼是這樣
processABitmap(aMyClass.aBMP) ; -> here is the compile error !!!
事實上,我總是確保'Windows'是我使用子句中的第一個單元 - 總是。這自然是我每一個新單位所做的第一件事。 – 2013-03-21 13:37:48