Autor Beitrag
Metschu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 135

Windows XP SP2 Home
Delphi 7; Delphi XE2-Starter
BeitragVerfasst: Di 25.04.06 17:05 
Hallo zusammen!

Ich bekomme von einem andern Programm Variablen bereit gestellt, die ich in Delphi einlesen möchte.
Derzeit startet das Programm eine .BAT Datei und übergibt Ihr die Variable. Diese Datei Speichert das ganze in einer .TXT Datei und startet anschliessend das eigentliche Programm, mit dem ich es verarbeite.

ausblenden Quelltext
1:
2:
3:
 echo %1 > c:\fmstext\fms.txt
 start     c:\fmstext\fms.exe
 exit


Kann man das auch eleganter lösen und dirket in Delphi einlesen?

Danke schonmal für Eure Tips.

Gruß

Torsten
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: Di 25.04.06 17:11 
INI-Files oder mit den Sockets eine Verbindung herstellen. (nach den Begriffen suchen ;) )

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

Windows XP SP2 Home
Delphi 7; Delphi XE2-Starter
BeitragVerfasst: Do 15.06.06 14:41 
Danke für den Tip, aber mit der suche bin ich nicht wirklich schlauer geworden :(

Kannst Du mir nochmal einen Hinweis geben, wie ich die Suche verfeinern kann?


Gruß

Torsten