Hi
I have 2 programs which one opens the other with ShellExecute command.
For example
The question is how to receive the information from the first program?
Thanks.
I have 2 programs which one opens the other with ShellExecute command.
For example
Code:
procedure Tform1.Button1Click(Sender: TObject);
begin
ShellExecute(0, 'open', PChar(ExtractFilePath(Application.ExeName)+'SecondProgram.exe'),
Pchar('Parameters to pass'), Pchar('Directory to pass'), SW_SHOW);
end;
The question is how to receive the information from the first program?
Thanks.