|
Buil > Study < Der 님이 쓰신 글 :
: 컴포넌트 설치는 모두 성공했는데여..
: 프로젝트를 하면서 모든 코딩을 하고서 컴파일을 했거든여..
: 그런데 CPort관련 헤더 파일에서 에러가 나네여..
: [C++ Error] CPort.hpp(683): E2238 Multiple declaration for '_fastcall EComPort::EComPort(int)'
: [C++ Error] CPort.hpp(675): E2344 Earlier declaration of '_fastcall EComPort::EComPort(int)'
: [C++ Error] CPort.hpp(695): E2238 Multiple declaration for '_fastcall EComPort::EComPort(int,int)'
: [C++ Error] CPort.hpp(674): E2344 Earlier declaration of '_fastcall EComPort::EComPort(int,int)'
: [C++ Error] CPortCtl.hpp(242): E2015 Ambiguity between 'TBitmap' and 'Windows::TBitmap'
: 위에 에러를 해결할 능력이 아직 저에겐 너무 부족해서 이렇게 질문 드립니다.
: 어떻게 해야 하죠? ㅠ.ㅠ
: CPort.hpp 와 CPortCtl.hpp를 압축해서 올립니다..^^;
//주석 처리 하세요.. 두 곳을 주석 처리 해야 됩니다. ㅎㅎ.. 다른 방법도 있는데. 그건 잘 모르겠고.
주석 처리 하면 간단하게 처리 됩니다.
|