Autor Beitrag
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Fr 14.04.06 10:35 
Hallo zusammen
Wieso Kriege ich hier
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
 case messageBox(self.handle,
            PChar(EDatum.Text)+chr(13)+PChar(EUhrzeit.Text),
            'Terminüberschneidung',
            MB_ICONERROR OR MB_OK OR MB_DEFBUTTON1)
            of


den Fehler:
Zitat:
Inkompatible Typen String und PansiChar


Gruß

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Fr 14.04.06 10:39 
ausblenden Delphi-Quelltext
1:
PChar(SeinString + 'Hallo Welt!' + Chr(55)) //eben alles in die Klammer und nicht mehrere PChar()					


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
der Berliner Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Fr 14.04.06 10:49 
Danke schön Funktioniert.
Alles andere habe ich glaube ich ausprobiert :D aber alles in klammern natürlich nicht :(
Gruß

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
Einsamer Schütze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37

XP Prof
Delphi 2007 professional
BeitragVerfasst: Fr 18.08.06 10:51 
Titel: Danke
habe mich gleich mal rangehängt, Deine Antwort ist sehr aussagekräftig - funzt.

ES