|
새로 어플리케이션을 시작해서 빈폼 위에 Image32 컴포넌트를 올리고
컴파일을 하면 다음과 같은 에러가 발생합니다..
[C++ Error] GR32_Image.hpp(469): E2113 Virtual function '_fastcall TCustomImgView32::MouseDown(TMouseButton,TShiftState,int,int,TCustomLayer *)' conflicts with base class 'TCustomImage32'
[C++ Error] GR32_Image.hpp(470): E2113 Virtual function '_fastcall TCustomImgView32::MouseMove(TShiftState,int,int,TCustomLayer *)' conflicts with base class 'TCustomImage32'
에러메시지 대로라면,,Virtual Function이 충돌하기 때문에 생긴다는 건데요..
그래서,,GR32_Image.hpp에서 가상함수 선언부분을 제거하고 실행하면,,실행은 잘 됩니다..
그런데..이 상태에서 Image32에 사진파일을 하나 올려놓고 다시 실행을 하면,,컴퓨터가
죽어 버립니다..
원인이 뭘까요?
그리고,, Virtual Function이 충돌하지 않도록 소스를 고칠려면 어떻게 해야 하나요...?
|