자유롭게 질의 및 응답을 할 수 있는 게시판입니다. 개발자 여러분의 답변이 큰 도움이 됩니다. 
  • 제품설치/등록 오류 문의: 설치/등록 Q&A 이용 (제품 구매 고객 한정)

본 게시판은 개발자들이 자유롭게 질문과 답변을 공유하는 게시판입니다.
* 따라서 최대한 정중하게 질문을 올려 주세요.
* 질문을 상세히 작성해 주실 수록 좋은 답변이 올라 옵니다.
* 다른 분들도 참고할 수 있도록 결과 댓글 필수(또는 감사 댓글)
(결과 댓글을 달지 않는 경우 다음 질문에 대한 답변이 달리지 않는 불이익이 있을 수 있습니다.)
-----------------------------------------------------------------------------------------------

현재 c++ Builder6의로 개발된 소스를 10.1 Berlin으로 변경하고 있습니다

그런데 idGlobal.hpp의 아래부분에서 오류가 발생합니다 

 

extern DELPHI_PACKAGE System::UnicodeString __fastcall ToHex(const TIdBytes AValue, const int ACount = 0xffffffff, const int AIndex = 0x0)/* overload */;

 

오류메세지는 다음과 같습니다

 

[bcc32 Error] IdGlobal.hpp(640): E2219 Wrong number of arguments in call of macro 'ToHex'

  Full parser context

    SaleInfo.cpp(12): #include 공통\Extern.h

    Extern.h(4): #include Thread\SCThread.h

    SCThread.h(6): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\rtl\IdComponent.hpp

    IdComponent.hpp(19): #include c:\program files (x86)\embarcadero\studio\18.0\include\windows\rtl\IdGlobal.hpp

 

    IdGlobal.hpp(57): namespace Idglobal

 

이유가 뭘까요??

 

그리고 Builder6에서 사용한 TNMUDP는 뭘로 대체해야할지 조언 부탁드립니다