[ilink32 Error] Error: Unresolved external 'wWinMain' referenced from C0W32W.OBJ
할거리/BC 2015. 7. 16. 20:50예전 프로젝트 파일 불러와서 새로 컴파일하면 생기는 에러.
(1) WinMain 을 _tWinMain 으로 바꾼다.
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
를
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
이걸로 바꾼다.
(2) tchar.h 추가
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
이렇게 한 줄 추가해주면 끝.
'할거리 > BC' 카테고리의 다른 글
E2209 Unable to open include file 'UnitGr32Pas.hpp' (0) | 2015.10.16 |
---|---|
[ilink32 Error] Fatal: Unable to open file 'UNITGR32PAS.OBJ' (0) | 2015.08.19 |
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 |