Autor Beitrag
Roosevelt Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 223

Win XP prof. SP2, Win XP Home SP2, Suse 9.2
Delphi 6 Personal, Delphi 2005
BeitragVerfasst: Fr 19.11.04 15:36 
jo passt schon!!! Aber wie ist es immer wenn man einen Fehler gelöst hat? genau der nächste ist schon da *G*

Also das Programm startet einwandfrei!!! Doch sobalt man auf den Button Senden (für die Bestenliste) klickt, kommt diese Fehlermeldung in einem MessageBox fenster mit dem Error Zeichen daneben

ausblenden Quelltext
1:
Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address 00460FF1 in module 'Project1.exe'. Read of address 00000070'. Process stopped. Use Step or Run to continue.					

da drunter steht ok und held wenn man auf ok klickt kommt man in den quellcode von der ftp komponenten!!!

hier der quellcode mit dem ich auf die ftp komponente zugreife:

ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Unit4, Unit5, Unit3, Unit6, Unit7, Unit8, Unit9,
  Unit10, Unit11, Unit13, Unit14, Unit15, Unit16, urlmon, Unit2, Menus,
  IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, idftp;



type
  TForm1 = class(TForm)
    Frame21: TAnleitung;
    Frame41: TStart;
    Frame51: TFrage1;
    Frame61: TFrage2;
    Frame81: TFrage3;
    Frame91: TFrage4;
    Frame101: TFrage5;
    Frame111: TFrage6;
    Frame131: TFrage7;
    Frame141: TFrage8;
    Frame151: TFrage9;
    Frame71: TStart;
    Frame3123: TBestenliste;
    Frame31: TEintragBestenliste;
    MainMenu1: TMainMenu;
    File1: TMenuItem;
    Exit1: TMenuItem;
    TreeView1: TMenuItem;
    Color2: TMenuItem;
    Drawing1: TMenuItem;
    ButtonColor1: TMenuItem;
    ButtonSize1: TMenuItem;
    idftp1: TIdFTP;
    procedure BEstenlistehochladen;
    procedure DateiHerunterladen;
    procedure Frame21Button1Click(Sender: TObject);
    procedure Frame31Button1Click(Sender: TObject);
    procedure Color2Click(Sender: TObject);
    procedure ButtonSize1Click(Sender: TObject);
    procedure Exit1Click(Sender: TObject);
    procedure ButtonColor1Click(Sender: TObject);

  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;
  richtige: String;
  nema: string;
  Zeit: single;

implementation


{$R *.dfm}

procedure TForm1.BEstenlistehochladen;
begin

idftp1.username:= 'sag ich nicht';
idftp1.password:= 'sag ich auch nicht';
idftp1.host:= 'ftp://rheinbogenminis.de';
//idftp1.Transfertype := fTASCII; //Wichtig! Schau diesbezüglich in die Delphihilfe
 try
  idftp1.connect(true,10000); //Der Computer versucht 10 Sekunden sich zu verbinden, wenn das nicht geht kommt ein Fehler
  idftp1.put('c:\bestenliste.mbq', 'Bestenliste.mbq', true) ;
   except
    Application.MessageBox('Fehler beim Senden deiner Daten.','Roosevelt Production');
  end;
end;

_________________
Glaube niemals das was du weißt!!!
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Fr 19.11.04 15:40 
glaub jetzt zwar nicht dass es daran liegt aber prinzipiell würde ich sagen, solltest du dir mal Indy 10 runterladen, da das 1. die neueste Version ist und 2. ich hier nicht mitreden kann wenn's in den Source der Kompos geht

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Roosevelt Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 223

Win XP prof. SP2, Win XP Home SP2, Suse 9.2
Delphi 6 Personal, Delphi 2005
BeitragVerfasst: Fr 19.11.04 15:45 
ich schrecke davor zurück mir indy 10 runterzuladen, weil ich schiss habe das es danach wieder nicht geht!!!

_________________
Glaube niemals das was du weißt!!!