 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ray Tayek Guest
|
Posted: Sun Nov 16, 2003 8:22 pm Post subject: newbie is missing TIdFTP |
|
|
hi, i am looking at a bunch of projects (that I inherited) that use
IdFTP. i have no experience with borland's products or Delphi and am
using c++ builder 5. gettng some missing some include files like:
#include "IdBaseComponent.hpp"
#include "IdComponent.hpp"
#include "IdFTP.hpp"
and the compiler complains about TIdFTP not being defined (see sample
connect.h file below).
Lots of other tform stuff works fine.
Can you tell me what these things are and where to get or install them?
Any pointers will be appreciated.
thanks
/---------------------------------------------------------------------------
#ifndef ConnectH
#define ConnectH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ScktComp.hpp>
#include "IdBaseComponent.hpp"
#include "IdComponent.hpp"
#include "IdFTP.hpp"
#include "IdTCPClient.hpp"
#include "IdTCPConnection.hpp"
//---------------------------------------------------------------------------
class TfrmConnect : public TForm
{
__published: // IDE-managed Components
TBevel *Bevel1;
TLabel *Label1;
TButton *Button1;
TClientSocket *Client;
TIdFTP *Ftp;
void __fastcall Button1Click(TObject *Sender);
void __fastcall ClientError(TObject *Sender, TCustomWinSocket *Socket,
TErrorEvent ErrorEvent, int &ErrorCode);
void __fastcall ClientConnect(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ClientRead(TObject *Sender, TCustomWinSocket *Socket);
void __fastcall ClientDisconnect(TObject *Sender,
TCustomWinSocket *Socket);
private: // User declarations
public: // User declarations
__fastcall TfrmConnect(TComponent* Owner);
bool PlayForFun;
float AmountInUserAcc; // amount in user account will get from
server
int Attempt, // Current attempt number
MaxAttempt; // maximum time it should attempt to get connected
to server
AnsiString ServerIP; // IP address of the server
int ServerPort; // port of the server
AnsiString UserName, // user name by which the user will be able
to log
// in to the Game server
Password; // password by which user will log the Game
server
void __fastcall CheckTurn(void);
void GetAnotherIP(void);
int IPFileNo;
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmConnect *frmConnect;
//---------------------------------------------------------------------------
#endif
|
|
| Back to top |
|
 |
Cecile Muller Guest
|
Posted: Tue Nov 18, 2003 6:57 am Post subject: Re: newbie is missing TIdFTP |
|
|
| Quote: | Can you tell me what these things are and where to get or install them?
|
This is the Indy components. I don't know for Builder but for Delphi,
version 8 was shipped with D6 i think, dunno for D7 but it probably
has version 9 or 10. Anyway you can find them at:
http://www.nevrona.com/Indy/indy.html
For the installation, check out the readme that comes with it.
|
|
| Back to top |
|
 |
Ray Tayek Guest
|
Posted: Thu Nov 20, 2003 6:34 pm Post subject: Re: newbie is missing TIdFTP |
|
|
Cecile Muller wrote:
| Quote: | Can you tell me what these things are and where to get or install them?
This is the Indy components. I don't know for Builder but for Delphi,
version 8 was shipped with D6 i think, dunno for D7 but it probably
has version 9 or 10. Anyway you can find them at:
http://www.nevrona.com/Indy/indy.html
For the installation, check out the readme that comes with it.
|
found it, installed it. and it works fine (or a least ot compiles fine).
thanks
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|