Hallo,
ich habe ein kleines Tool, welches ich unter XP und Windows 7 nutze.
Dort habe ich einen Aufruf:
shellexecute(0,NIL,'lusrmgr.msc',NIL,NIL,SW_NORMAL);
Wenn ich das Tool unter Windows 7 starte ist alles OK, unter XP passiert nichts.
Egal ob ich das Delphi 2009 Script unter XP oder Win 7 compiliere.
Komisch ist auch, dass z.B. der Aufruf
shellexecute(0,NIL,'ncpa.cpl',NIL,NIL,SW_NORMAL);
sowohl unter XP als auch unter Windows 7 funktioniert.
Wenn ich unter XP unter Start - ausführen den Befehl direkt eingebe, funktioniert er jedoch.
Hat jemand eine Idee?
Gruss Andreas