프로그래밍 노트

[델파이] TBitmap.Create에서 Undeclared identifier 에러가 뜰때 본문

델파이

[델파이] TBitmap.Create에서 Undeclared identifier 에러가 뜰때

떡잎 2009. 12. 31. 16:21
델파이에서 TBitmap.Create에서 Undeclared identifier 에러가 뜰때가 있다.

E2003 Undeclared identifier: 'Create'

이럴 때는 간단하게 해결할 수 있다.


Bitmap: Graphics.TBitmap;

위와 같이 변수형을 선언해 주면된다.
위와 같이 쓰지 않으면 아래의 윈도우즈에 있는 Bitmap형을 인식하는 것같다.

Bitmap: Windows.TBitmap;



Comments