Re: Re: Re: Pass parameters to .exe files

Posted by webmaster Guido on July 11, 2000

In Reply to: Re: Re: Pass parameters to .exe files posted by André Abud Manzano on July 11, 2000

: : : I need to run an executable file from within my delphi project, but I must pass some values to that .exe file. Is it possible to do that without using files to store information? If it is possible, how can I do that?
: : ShellExecute(0, 'open', 'ProgramFileName.exe', 'Parameters', nil, SW_NORMAL);
: I am afraid this is not that useful to me because I must wait my progam to end before coming back to the delphi project.I mean, I must use, from the delphi project, some files created by the .exe file.
-----------------

Have a look in our section Code Snips under "Executing external application and waiting" :)
There's also a downloadable demo project EXEWAIT.ZIP in the Downloads section.


Find related articles

Suggested keywords:
   shellexecute,  command line




Delphi FAQ :: Source code :: Tips