Board index » delphi » delphi 5 prob

delphi 5 prob

shellexecute won't work on delphi5

"makes easy things easy and hard things possible"


Re:delphi 5 prob

Chris schrieb:


> shellexecute won't work on delphi5

Sure? For me it does.


Re:delphi 5 prob

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

<> 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

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