출처 : http://zachsaw.blogspot.kr/2010/01/upgrading-vcl-apps-to-c-builder-2010.html
error message를 구글 검색하면 나오는 내용인데..
나중에 찾기 쉽게 이곳에 올립니다.
-----------------------------------------------------------------------
Upgrading VCL Apps to C++ Builder 2010
If you run into the following error, here's what you need to do.
[ILINK32 Error] Error: Unresolved external 'wWinMain' referenced from C:\PROGRAM FILES\EMBARCADERO\RAD STUDIO\7.0\LIB\C0W32W.OBJ
Open your main cpp file and look for this line,
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
Change it to,
WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int)
This is to do with the Unicode support in the new IDE (starting from CB2009).
-----------------------------------------------------------------------
WinMain 이라고되어있는데 실제 열어보면 _tWinMain 입니다. 이 부분 변경하면됩니다.
main cpp를 보려면 IDE에서 Project -> View Source 선택하면 보입니다.
|