Autor Beitrag
jensenwb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 36



BeitragVerfasst: So 30.07.06 16:17 
Hallo ich bekomme immer folgende Fehlermeldung wenn ich compiliere:
"Ungültiges Zeichen in Eingabedatei: '' ($A0)"

Ich weiß aber nicht was ich jetzt noch machen soll damit der Fehler nicht mehr erscheint und ich endlich mal mein Prog ein bißchen testen kann.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
  If Hauptmenue1.Form1.ADOTable9.Modified = True then begin
  case MessageDlg('Wollen Sie den geänderten Datensatz speichern?', mtConfirmation, mbYesNoCancel, 0) of
           mrYes:  Hauptmenue1.Form1.ADOTable9.Post;   { Änderungen speichern}
           mrNo:     Hauptmenue1.Form1.ADOTable9.Cancel; { Änderunen verwerfen}
   end;
Peinhard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 39



BeitragVerfasst: So 30.07.06 18:00 
Leider ist unklar, wo die Fehlermeldung genau auftritt und was der MessageDlg damit zu tun haben soll...
jensenwb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 36



BeitragVerfasst: So 30.07.06 18:43 
Ich bekomme wie ich schon gesagt habe die Fehlernmeldung beim compilieren, unten in dem fenster wo der Quelltext steht.

Der Fehler ist nun mal immer in die Zeilen wo die beiden abfrage ob mryes oder mrno ist.
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: So 30.07.06 21:02 
Nach dem Webseuropäischen ANSI-Zeichensatz ist das Zeichen $A0 das €-Zeichen. Such mal danach in der Datei.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
jensenwb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 36



BeitragVerfasst: So 30.07.06 21:13 
Also in meinen Quelltext habe ich kein € - Zeichen. der schreibt ja den Fehler bei den zeilen bevor ich überhaupt mein Programm zu gesicht bekommt
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: So 30.07.06 23:43 
öffne mal die Datei, in der der fehler auftritt, in Notepad und suche das Zeichen (wie auch immer es aussieht, schwarzes Kästchen?) und lösch es raus.
der Delphi-Editor stellt einige ("ungültige") Zeichen nicht dar, d.h. du kannst es auch nich löschen
wie auch immer das da reinkommt?

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)
jensenwb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 36



BeitragVerfasst: Mo 31.07.06 11:08 
Danke nun funktioniert es.