| View previous topic :: View next topic |
| Author |
Message |
Lorrenzo Moderator
Reputation: 4
Joined: 02 Jun 2006 Posts: 3744
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Fri Aug 10, 2007 2:46 pm Post subject: |
|
|
I dont think the first one would work... But you can try experiment with Shell_NotifyIcon, google it to find full codes.
Also dont just give up in the start, read the tutorial on www.delphi.about.com about Shell_NotifyIcon to understand it better, it will help you solve your problem.
|
|
| Back to top |
|
 |
IYukiI Grandmaster Cheater Supreme
Reputation: 0
Joined: 01 Aug 2006 Posts: 1140 Location: OC, CA
|
Posted: Fri Aug 10, 2007 2:47 pm Post subject: |
|
|
Why did you put the procedure in front of createprocess? That'd mean your procedure is named Createprocess. I'm pretty sure you can use CreateProcess with a Tbutton but I don't see why you just don't use ShellExecute.
_________________
You need help with something? I don't know if I can help but contact me on MSN and I'll be glad to help in any way I can. |
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Fri Aug 10, 2007 2:48 pm Post subject: |
|
|
CreateProcess would work on any computer.
ShellExecute will only work on computers where the path is the same as the one he posted.
|
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Fri Aug 10, 2007 2:48 pm Post subject: |
|
|
| IYukiI wrote: | | I don't see why you just don't use ShellExecute. |
Because if he wants to launch an executable, using CreateProcess is better.
@Kevinnn, you can pass a buffer holding the path to ShellExecute as well.
_________________
|
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Fri Aug 10, 2007 3:01 pm Post subject: |
|
|
_________________
What dosen't kill you, usually does the second time. |
|
| Back to top |
|
 |
|