Autor Beitrag
hube
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38

WIN XP
D7 Prof
BeitragVerfasst: Mo 19.07.04 17:07 
Hallo zusammen

Ich möchte unter Delphi 7 folgendes machen:

- zuerst soll ein Registrywert abgeändert werden (regedit yxz.reg /s)
- dann soll ein Programm ausgeführt werden (Programm.exe)
- nach Beendigung des Programmes soll der abgeänderte Registrywert wieder zurückgesetzt werden (regedit zyx.reg /s)

Das mit den Registryeinträgen habe ich im Griff.

Aber wie muss ich es anstellen, dass das "zurücksetzen" der Registry erst nach dem Beenden des aufgerufenen Programmes geschieht?

Ich bin für jeden Tipp dankbar

Markus
TheNeon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Mo 19.07.04 17:42 
versuchs mal mit Suchen ......... glaub dieses Thema wurde in so ziemlich jedem Forum zig mal besprochen
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 19.07.04 19:03 
Prozesshandle von zu Schließenden Prozess an Suche in: Delphi-Forum, Delphi-Library WAITFORSINGLEOBJECT.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.