Autor Beitrag
Florian.K
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130

Win Xp Prof. & SP 2
Delphi 10 Lite
BeitragVerfasst: Do 23.02.06 18:07 
Hi Community!
ich öffne mit
ShellExecute(0,'open','cmd.exe',PChar(''),nil,SW_normal) ;
die dos Box
aber möchte das mein edtText->"Dies ist ein Test" in der Dosbox ausgegeben wird
Danke im Voraus =)
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 23.02.06 18:11 
Den Edit-Text in eine Bat-Datei schreiben und dann mit shellexecute ausführen.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Florian.K Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130

Win Xp Prof. & SP 2
Delphi 10 Lite
BeitragVerfasst: Do 23.02.06 18:14 
Koller und wenn ich nun meinen Satz im editfeld ändern möchte =) ?
edit: Ziel ist ja editfeld->Dosbox
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 23.02.06 18:19 
Erneut abspeichern und ausführen! :roll: ;)

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
InsaneXP
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Do 23.02.06 18:32 
Versuchs mal so:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
  // erzeugen eines Konsolenfensters
  if AllocConsole then
  begin

    // Ausgabe an Konsole
    Writeln( edit1.Text )

  end{if};