막강한글 님이 쓰신 글 :
: 그래픽EX컴포넌트를 이자료실에 있는 빌더6용 패키지와 혼합해서
: 컴파일하면 아무에러없이 완료가 되지만
: 컴포넌트 설치후 빈프로젝트에 테스트하기위해 GraphicEX.hpp 헤더를 인클루드를 시키고난후
: 컴파일하면 아래와 같이 뜹니다.
:
: [C++ Error] GraphicEx.hpp(148): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(174): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(230): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(256): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(284): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(310): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(336): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(370): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(404): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(433): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(459): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(485): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
: [C++ Error] GraphicEx.hpp(548): E2285 Could not find a match for 'TGraphicExGraphic::CanLoad(const AnsiString)'
:
: 참고로 컴포넌트는 GraphicEX 컴포넌트를 제공하는 홈페이지(
http://www.delphi-gems.com)에서
: 최신버전으로 받았으며 이 자료실에 올려진 버전과는 다른것입니다.
:
: 현재 그래픽EX컴포넌트를 배포하는 홈페이지에서 다운받아서
: 빌더6에서 올바르게 작동하는 방법을 아시는분은 답변좀 주시면 많은 도움이 될꺼같습니다.
드디어 오늘해결했습니다.
그런데 아무도 답변을 안해주셨다니...--
해결방법은 의외로 간단하더군요
소스에다
#pragma link "GraphicEX"
이루틴만 추가하면 된다는것입니다.
ㅋ