Autor Beitrag
Swordooo
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Mo 14.07.08 10:49 
Hallo,
ich habe ein Problem mit dem Befehl "ShellExecute". Undzwar besitze ich Delphi 7 und habe folgenden Befehl in mein Project eingebaut:

ausblenden Delphi-Quelltext
1:
ShellExecute(0,'open','DEINPROZESS.exe'NIL,NIL,SW_SHOW);					


Jedoch kommt eine Fehlermeldung, wenn ich versuche zu compilieren :cry: !

ausblenden Delphi-Quelltext
1:
[Fehler] Unit1.pas(29): Undefinierter Bezeichner: 'shellExecute'					


Ich habe mit ShellExecute noch keine Erfahrung! Ich habe die Suche schon benutzt, jedoch nichts gefunden! :x

Kann mir jemand weiterhelfen.

Danke schonmal im Vorraus!
MfG Swordooo
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Mo 14.07.08 10:50 
Du musst noch die Unit "ShellAPI" einbinden.

gruß
jaevencooler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 166
Erhaltene Danke: 6

MS-DOS,Win32, Win95, Win 98, Me,XP, Linux, NT4.0, NT 2000-2008, Vista, Windows 7
Turbo Pascal,D1 Enter,D2 Enter,D3 Enter,D5 Enter, Kylix, D2007, PL/SQL, MS/SQL, Delphi 2010, Delphi XE
BeitragVerfasst: Mo 14.07.08 10:53 
Moin,

hast Du auch die richtige Unit in Deiner Uses Clause eingetragen ??
(ShellAPI)


Beste Grüße
Michael

_________________
Wissen ist Macht, nichts wissen macht auch nichts...
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Mo 14.07.08 10:54 
Zu spät! :tongue:
Swordooo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Mo 14.07.08 10:56 
ok danke

Zitat:
Du musst noch die Unit "ShellAPI" einbinden.


Wie gesagt ich habe hiermit noch keine erfahrung und delhalb entschuldige ich mich für evtl. dumme frage etc.

Wie mache ich das :lol: :bawling:
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Mo 14.07.08 10:59 
Ganz oben in der Unit bei Uses einfach dazu schreiben. Da wo sowas wie Forms und SysUtils steht.
Dunkel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 682

Mac OS X Snow Leopard
Xcode 3.1
BeitragVerfasst: Mo 14.07.08 11:00 

_________________
Ich streite einsam mich mit dieser Oberflächenwelt
Gutes sei ein löblich Brot von dem ich zehre - bis zum Tod [Das Ich - Im Ich]
Swordooo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Mo 14.07.08 11:10 
ok funktioniert alles. Danke für die Hilfe!

MfG Swordooo