![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Posts: 2
Rep Power: 0
![]() |
How to receive parameters passed by shellExecute?
Hi, I'm new to the forum and was hoping you guys could maybe help me.
I don't know if this is a stupid question or not but here goes. I want to write a small app that can receive parameters passed to it by another delphi app using the shellExecute command. Executing the second app is not a problem but how do receive/catch the parameters that were passed? Thanks in Advance losadel |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
I don't know any delphi, but i believe you use the variable ParamCount for the amount of parameters, and ParamStr is an array of strings, containing the parameters.
|
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
You should see the documentation of Delphi for that or search for tutorials...
I've never worked in Delphi... ![]() |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Oct 2005
Posts: 2
Rep Power: 0
![]() |
thanks guys, i actually wanted to delete the thread 10mins after I made it. I was searching for the wrong thing :O
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|