Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 17th, 2005, 4:26 AM   #1
losadel
Newbie
 
Join Date: Oct 2005
Posts: 2
Rep Power: 0 losadel is on a distinguished road
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
losadel is offline   Reply With Quote
Old Oct 17th, 2005, 4:41 AM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
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.
Polyphemus_ is offline   Reply With Quote
Old Oct 17th, 2005, 7:16 AM   #3
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
You should see the documentation of Delphi for that or search for tutorials...
I've never worked in Delphi...
ivan is offline   Reply With Quote
Old Oct 18th, 2005, 1:41 AM   #4
losadel
Newbie
 
Join Date: Oct 2005
Posts: 2
Rep Power: 0 losadel is on a distinguished road
thanks guys, i actually wanted to delete the thread 10mins after I made it. I was searching for the wrong thing :O
losadel is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:41 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC