C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 팁&트릭
C++Builder Programming Tip&Tricks
[1136] ZipBuilder Demo 소스 RAD 2010에서 컴파일 오류 수정
송신영 [palindrome] 41852 읽음    2013-08-07 14:59
출처 : 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 선택하면 보입니다.

+ -

관련 글 리스트
1136 ZipBuilder Demo 소스 RAD 2010에서 컴파일 오류 수정 송신영 41852 2013/08/07
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.