A program executes another program and needs to pass text information to the
executed program. I can't use the command-line to pass the information,
because its it limited to 32K length I think. What else to use?
I am using the ShellExecute function.

Re: create a process by Michael

Michael
Fri Nov 21 16:10:01 CST 2003

Hans Meier wrote:
: A program executes another program and needs to pass text information
: to the executed program. I can't use the command-line to pass the
: information, because its it limited to 32K length I think. What else
: to use?
: I am using the ShellExecute function.

Another way would be to e.g. pass the window handle of the creator by
command line and the executed program sends the given windows a message
which will copy the string to a buffer or sth. like that.
Simply pick the way which will best fit your case.

Regards
'Mike



Re: create a process by Jason

Jason
Sat Nov 22 02:17:16 CST 2003

How about Shared Memory?

I know ISAPI does a lot of that and it seems to work.

"Hans Meier" <hans@meier.com> wrote in message
news:bpm207$3g8$07$1@news.t-online.com...
> A program executes another program and needs to pass text information to
the
> executed program. I can't use the command-line to pass the information,
> because its it limited to 32K length I think. What else to use?
> I am using the ShellExecute function.
>
>



Re: create a process by Hans

Hans
Sat Nov 22 07:03:53 CST 2003

I will write the text data to a temporary file and pass the filename via
command-line.

> How about Shared Memory?
>
> I know ISAPI does a lot of that and it seems to work.
>
> "Hans Meier" <hans@meier.com> wrote in message
> news:bpm207$3g8$07$1@news.t-online.com...
> > A program executes another program and needs to pass text information to
> the
> > executed program. I can't use the command-line to pass the information,
> > because its it limited to 32K length I think. What else to use?
> > I am using the ShellExecute function.
> >
> >
>
>