AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

Externe Anwendung unter XP & Vista öffnen

Ein Thema von AlexII · begonnen am 9. Jul 2008 · letzter Beitrag vom 15. Jul 2008
Antwort Antwort
Seite 2 von 2     12
AlexII

Registriert seit: 28. Apr 2008
1.717 Beiträge
 
FreePascal / Lazarus
 
#11

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 9. Jul 2008, 11:10
Na gut, dachte vllt kommen mit der UAC doch welche Probleme. Aber danke
  Mit Zitat antworten Zitat
NickelM

Registriert seit: 22. Jul 2007
Ort: Carlsberg
445 Beiträge
 
Delphi 2009 Professional
 
#12

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 15. Jul 2008, 02:13
Geht das nicht auch einfach mit :
WinExec('calc.exe',sw_show); ?????????
Nickel
  Mit Zitat antworten Zitat
Bebe

Registriert seit: 3. Apr 2005
Ort: Berlin
104 Beiträge
 
Delphi 10.1 Berlin Professional
 
#13

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 15. Jul 2008, 04:10
Es läuft unter Vista 64Bit + SP1 und UAC. Calc wird korrekt gestartet.

Gruß
Matze
  Mit Zitat antworten Zitat
Benutzerbild von Matze
Matze
(Co-Admin)

Registriert seit: 7. Jul 2003
Ort: Schwabenländle
14.929 Beiträge
 
Turbo Delphi für Win32
 
#14

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 15. Jul 2008, 05:19
Hallo,

im PSDK bzw. in der Delphi-Hilfe steht dazu jedoch folgendes:

Zitat:
The WinExec function runs the specified application.

Note This function is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function.
Grüße, Matze
  Mit Zitat antworten Zitat
Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.169 Beiträge
 
Delphi 10.4 Sydney
 
#15

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 15. Jul 2008, 07:49
Zitat von Matze:
im PSDK bzw. in der Delphi-Hilfe steht dazu jedoch folgendes:

Zitat:
The WinExec function runs the specified application.

Note This function is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function.
Grüße, Matze
Und ab Vista sollte man wieder ShellExecute nehmen falls es nötig ist das die UAC berücksichtig werden soll.
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat
NickelM

Registriert seit: 22. Jul 2007
Ort: Carlsberg
445 Beiträge
 
Delphi 2009 Professional
 
#16

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 15. Jul 2008, 12:01
Aso
Wusste ich net.
Hab nur Delhpi 5 und da steht leider solche Funtionen net drin
Nickel
  Mit Zitat antworten Zitat
Benutzerbild von hitzi
hitzi

Registriert seit: 2. Jan 2003
Ort: Eibau
768 Beiträge
 
Delphi 2010 Professional
 
#17

Re: Externe Anwendung unter XP & Vista öffnen

  Alt 15. Jul 2008, 12:08
Gibt's unter Delphi 5 die Unit ShellApi, welche die Nutzung von ShellExecute möglich macht, noch nicht?
Thomas
Besucht doch mal http://www.hitziger.net
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:33 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz