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

C++빌더 Q&A
C++Builder Programming Q&A
[61653] Re:splash윈도우 만들기 찾아 보고 동일 한 방법으로 만들어 컴파일 해보았더니 다음 과 같이 에러가 납니
송신영 [palindrome] 1145 읽음    2010-06-23 08:58
에러가 발생되면 무슨 에러인지 읽어보시면 바로 찾을 수 있을 것같은데요....

: [BCC32 Error] 16bit555ModeConvert.cpp(6): E2209 Unable to open include file 'Splash.h'
-> 뭔가 파일을 못찾아서 컴파일러가 아우성 치는 목소리가 들리지 않나요?
   
일단 파일을 못찾으니 이 파일을 사용하는 곳에서는 무수한 에러를 토하겠죠?

공부중 님이 쓰신 글 :
: #include <vcl.h>
: #pragma hdrstop
: #include <tchar.h>
: #include "Splash.h" // 꼭 include해준다
:
: //---------------------------------------------------------------------------
: USEFORM("Unit2.cpp", Form2);
: USEFORM("Unit1.cpp", SplashUnit);
: USERES("ips.res");
: USEFORM("MControl.cpp", ControlCenter);
: USEFORM("progress.cpp", ProcessProgress);
: USEFORM("SeqView.cpp", SeqViewer);
: USEUNIT("sequenceFile.cpp");
: USEUNIT("ImageBuffer.cpp");
: USEUNIT("choisUtil.cpp");
: USEUNIT("imageDisplay.cpp");
: USEUNIT("choisAlgo.cpp");
: USEFORM("Splash.cpp", SplashForm);
: //---------------------------------------------------------------------------
: WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
: {
:     try
:     {
:         Application->Initialize();
:         Application->MainFormOnTaskBar = true;
:         Application->CreateForm(__classid(TForm2), &Form2);
:         Application->Run();
:         Application->Initialize();
:         SplashForm = new TSplashForm( Application ); // 요 아래 세줄이 Splash 윈도우 생성시키는 부분
:         SplashForm->Show();
:         SplashForm->Update();
:         Application->CreateForm(__classid(TControlCenter), &ControlCenter);
:         Application->CreateForm(__classid(TProcessProgress), &ProcessProgress);
:         Application->CreateForm(__classid(TSeqViewer), &SeqViewer);
:          Application->Run();
:
:
:
:     }
:     catch (Exception &exception)
:     {
:         Application->ShowException(&exception);
:     }
:     catch (...)
:     {
:         try
:         {
:             throw Exception("");
:         }
:         catch (Exception &exception)
:         {
:             Application->ShowException(&exception);
:         }
:     }
:
:     return 0;
: }
: //---------------------------------------------------------------------------
: [BCC32 Error] 16bit555ModeConvert.cpp(6): E2209 Unable to open include file 'Splash.h'
: [BCC32 Error] 16bit555ModeConvert.cpp(31): E2450 Undefined structure 'TSplashForm'
:   Full parser context
:     16bit555ModeConvert.cpp(23): parsing: int __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
: [BCC32 Error] 16bit555ModeConvert.cpp(31): E2034 Cannot convert 'TApplication *' to 'TSplashForm'
:   Full parser context
:     16bit555ModeConvert.cpp(23): parsing: int __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
: [BCC32 Error] 16bit555ModeConvert.cpp(32): E2315 'Show' is not a member of 'TSplashForm', because the type is not yet defined
:   Full parser context
:     16bit555ModeConvert.cpp(23): parsing: int __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
: [BCC32 Error] 16bit555ModeConvert.cpp(33): E2315 'Update' is not a member of 'TSplashForm', because the type is not yet defined
:   Full parser context
:     16bit555ModeConvert.cpp(23): parsing: int __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
: 왜 이런 에러가 나는지 알수가 없습니다.

+ -

관련 글 리스트
61647 해결 하였습니다^^ 공부중 734 2010/06/22
61653     Re:splash윈도우 만들기 찾아 보고 동일 한 방법으로 만들어 컴파일 해보았더니 다음 과 같이 에러가 납니 송신영 1145 2010/06/23
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.