how to retrieve output from another aplication ??

Login to reply to this topic.
Fri, 2006-05-12 01:16
Joined: 2006-05-11
Forum posts: 19
i want to catch/retrieve outputs from another aplication, i.e:

i have program x running then throw some outputs : a,b, and c.
while the program x is still running i execute another program y, i want the outputs a,b, and c can be proceed in program y  Huh

any one can help me

thanks before

Fri, 2006-05-12 01:56
Guest (not verified)
Forum posts: 2043
Re: how to retrieve output from another aplication ??
What do you mean by outputs? What sort of outputs?

Is X outputting data to a screen, to a file, to a console, or do you just want to transfer data from x to y?
Fri, 2006-05-12 02:12
Joined: 2006-05-11
Forum posts: 19
Re: how to retrieve output from another aplication ??
X is outputting data to a screen ...

thanks for reply
Fri, 2006-05-12 08:53
Joined: 2005-03-04
Forum posts: 176
Re: how to retrieve output from another aplication ??
How about Client/Server? X is a Server and the other one(s) throw there output as clients...

bye;
CG
Mon, 2006-05-15 21:13
Guest (not verified)
Forum posts: 2043
Re: how to retrieve output from another aplication ??
Is X an application you wrote or an existing application?

Do you want to do a screen capture? Capture the data before it gets written to the screen. What sort of data are you talking about, a bit of text or some animation.

You have to be more specific with your question
Wed, 2006-05-17 04:14
Joined: 2006-05-11
Forum posts: 19
Re: how to retrieve output from another aplication ??
it's an existing application.

the data is a bit of text, how to capture the data before it gets written to the screen??

Thu, 2006-05-25 10:49
Joined: 2006-01-09
Forum posts: 105
Re: how to retrieve output from another aplication ??
Hi


Try using Socket....


Cheers!!
CodePupil

Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!

Thu, 2006-05-25 23:16
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 723
Re: how to retrieve output from another aplication ??
Socket?!?! Forget about that, that's a completely different thing.

However, I'm not sure if it's possible at all what you're asking for. It would require extra support from Window server and I don't think that WS exposes such an API that makes it possible for others to observe with other applications are drawing.

Tote

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Fri, 2006-05-26 00:06
Guest (not verified)
Forum posts: 2043
Re: how to retrieve output from another aplication ??
.. so you're suggesting writing data into one end of a socket and somehow another application and the window server both receive it?

Hmmmm



If an application is displaying information to the screen then there's no way for another application to get that data unless it can somehow hook into the window server. I don't know if this is possible but I would suspect not, and if it is then it'd likly be for internal testing purposes only.

Instead of asking your question why not state why you want to do this?
  • Login to reply to this topic.