long DoMsgPrintf(TColor theColor, const TCHAR * fmt, ...);
DoMsgPrintf(clBlack, "Output : %X (%d)", Data, Data );
이렇게 call 하면 에러가 난다.
DoMsgPrintf(clBlack,_T("Output : %X (%d)"), Data, Data );
_T( ) 를 넣어주어야 한다.
winnt.h 추가
또는
DoMsgPrintf(clBlack,(TCHAR *)("Output : %X (%d)"), Data, Data );
'할거리 > BC' 카테고리의 다른 글
[ilink32 Error] Error: Unresolved external 'wWinMain' referenced from C0W32W.OBJ (0) | 2015.07.16 |
---|---|
BC++ Enable Debugging (0) | 2015.06.18 |
W1010 Method '%s' hides virtual method of base type '%s' (Delphi) (0) | 2015.05.29 |
Indy Send Unicode 문제 (0) | 2015.05.22 |
ExtractStrings의 버그를 SeparateStrings 으로 해결 (0) | 2015.05.14 |