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
[51528] Indy10 사용시
너브 [] 1688 읽음    2007-12-07 19:10
안녕하세요.
빌더 공부하다가 쳇팅 프로그램 해보려고 했는디..
TidTCPServer  와 쓰레드스케쥴러 콤포넌트 하나만 올려놓고 컴파일 하려 해도 에러가 나네요...

IdWinsock2.hpp 의
typedef TWSAProtocol_InfoW *LPWSAProtocol_InfoW;
가 에러가 나네요.... ㅜ.ㅜ

BDS2006 사용하고요 패스는 설정했읍니다.

아래는 소스입니다.. ㅜ.ㅜ
//$$---- Form HDR ----
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <IdBaseComponent.hpp>
#include <IdComponent.hpp>
#include <IdTCPClient.hpp>
#include <IdTCPConnection.hpp>
#include "IdCustomTCPServer.hpp"
#include "IdScheduler.hpp"
#include "IdSchedulerOfThread.hpp"
#include "IdSchedulerOfThreadDefault.hpp"
#include <IdTCPServer.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:    // IDE-managed Components
    TIdTCPServer *IdTCPServer1;
    TIdSchedulerOfThreadDefault *IdSchedulerOfThreadDefault1;
private:    // User declarations
public:        // User declarations
    __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif


//$$---- Form CPP ----
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "IdCustomTCPServer"
#pragma link "IdScheduler"
#pragma link "IdSchedulerOfThread"
#pragma link "IdSchedulerOfThreadDefault"
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
    : TForm(Owner)
{
}
//---------------------------------------------------------------------------

+ -

관련 글 리스트
51528 Indy10 사용시 너브 1688 2007/12/07
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.