|
SetBMPFileName 구현부를 찾을 수 없답니다.
찾아주세요. -ㅅ-;;;
함수 구현이 안되어있거나 컴포넌트 설치후 Library Path 설정을 안해줘서 나올 수 있습니다.
부산촌님 님이 쓰신 글 :
: TWLabel 컴포넌트를 조금 변형해서 배경 이미지를 넣을려구
: 컴화일응 했더니 아래와 같은 에러가 나오는 군요!!!!
:
: [Linker Error] Unresolved external '__fastcall TWGradient::SetBMPFileName(const System::AnsiString)' referenced from E:\PROJECT\TRSYSTEM\PROGRAM\PC\리모콘모델생성기\TRS_MR_MAKE.OBJ
:
: 이런 에러 처치 방법은 없나요.....
:
: class TWGradient : public TPersistent
: {
: private:
: WGradientType m_GradType;
: TColor m_FColor, m_BColor;
: Graphics::TBitmap *m_pBmp;
: public:
: AnsiString m_BMPFileName;
: TNotifyEvent m_Change;
: __fastcall TWGradient();
: virtual __fastcall ~TWGradient();
: void __fastcall DrawGradient(TCanvas *Canvas, TRect *pRect);
: void __fastcall SetSize(int Width,int Height);
: private:
: void __fastcall MakeGradient(void);
: void __fastcall SetGradType(WGradientType GradType);
: void __fastcall SetFColor(TColor FColor);
: void __fastcall SetBColor(TColor BColor);
: //------------------------------------------------
: void __fastcall SetBMPFileName(const AnsiString Fn);
: //________________________________________________
: __published:
: __property WGradientType Type = { read = m_GradType, write = SetGradType, default=GT_Horz };
: __property TColor FColor = { read = m_FColor, write = SetFColor, default=clGray };
: __property TColor BColor = { read = m_BColor, write = SetBColor, default=clGray };
: //------------------------------------------------
: __property const AnsiString BMPFileName = { read = m_BMPFileName, write = SetBMPFileName};
: //------------------------------------------------
: };
|