Board index » delphi » delphi 5 prob

delphi 5 prob

shellexecute won't work on delphi5

--
Chris
"makes easy things easy and hard things possible"
ICQ#27125855
ch...@chrismail.connectfree.co.uk
www.bl-soft.com/fun/
www.bl-soft.com/chrissite/
www.bl-soft.com/exclamation/

 

Re:delphi 5 prob


Chris schrieb:

Quote

> shellexecute won't work on delphi5

Sure? For me it does.

-Michael

Re:delphi 5 prob


On Tue, 1 Feb 2000 17:44:23 -0000, "Chris"

Quote
<ch...@chrismail.connectfree.co.uk> wrote:
>shellexecute won't work on delphi5

ShellExecute is a Windows API function, not a Delphi function. So when it
fails, the first place you need to look is on the Windows side. Can you
expand on "won't work"? Was there an error message? No error, but a crash?
No error or crash, but ... ?

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Steve Koterski              "Health nuts are going to feel stupid someday,
Felton, CA                  lying in hospitals dying of nothing."
                                                              -- Redd Foxx

Re:delphi 5 prob


Quote
Chris wrote:
> shellexecute won't work on delphi5

a) Use more specific subject than "D5 problem"
b) include error code. At least more information than
   just "It doesn't work. Why?"
c) read OLH to find out where ShellExecute is declared
d) try searching the Delphi source code to find ShellExecute
and finally - to solve your problem:
e) include ShellApi in the uses clause

Bye, Udo

Other Threads