Autor Beitrag
reepo2k
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 138

WIN XP
Borland Delphi 7 Enterprise, Microsoft Visual C++ 6.0 Enterprise, Macromedia Dreamweaver 8
BeitragVerfasst: Mi 03.11.04 19:07 
Hallo, ich würd gern eine Internetseite über ein Delphi Programm öffnen, bekomm nur die oben genannte Fehlermeldung.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.CheaterElite2Click(Sender: TObject);
begin
if shellexecute(handle,'open','http://www.cheaterelite.de',nil,nil,sw_show)<=32
then showmessage('Internetseite konnte nicht geöffnet werden!');
end;


Was ist daran falsch?

MfG: reepo2k

PS: Den SRC hab ciha us n FAQ-Bereich....
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Mi 03.11.04 19:09 
Unit ShellAPI in der uses-Liste?

_________________
JSXGraph
reepo2k Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 138

WIN XP
Borland Delphi 7 Enterprise, Microsoft Visual C++ 6.0 Enterprise, Macromedia Dreamweaver 8
BeitragVerfasst: Mi 03.11.04 19:09 
Weiß nich...

SRY bin noch Anfänger in Sachen Delphi...
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Mi 03.11.04 19:13 
Ganz am Anfang deiner Unit sieht das ungefähr so aus:
ausblenden Delphi-Quelltext
1:
2:
3:
unit Unit1;

uses Windows, Dialogs, Forms, {...}, irgendneandereunit;

Irgendwo in die Liste musst Du 'ShellAPI' schreiben:
ausblenden Delphi-Quelltext
1:
2:
3:
unit Unit1;

uses Windows, Dialogs, Forms, {...}, irgendneandereunit, ShellAPI;


solltest dir vielleicht erstmal ein paar grundlagen tutorials ansehen... ;)

_________________
JSXGraph
reepo2k Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 138

WIN XP
Borland Delphi 7 Enterprise, Microsoft Visual C++ 6.0 Enterprise, Macromedia Dreamweaver 8
BeitragVerfasst: Mi 03.11.04 19:15 
raziel hat folgendes geschrieben:

solltest dir vielleicht erstmal ein paar grundlagen tutorials ansehen... ;)


Jo bin grad dabei.... :wink:

THX!

MfG: reepo2k