Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(Repost)Problem with terminal

Status
Not open for further replies.

javabeanx

Programmer
Apr 29, 2002
10
IN
I was'nt very clear last time
I am trying to an event recorder for Java /C++ applications in the terminal
I have no access to the source code..of the user's application.
When the user is executing his app i must simultaneously create another process to record what events (keyboard) he has pressed and then note it down in a file.
when the users process has terminated its turn for mine to terminate too..
When asked for replay I open the users application and then simultaneously open the file and send the events to users applications
Is it possible Please help me !! I am really stuck

 
When working under unix C++,you can and probably will use the Xlib. So,when the user starts his application, does a window appear ? (I have a big explanation ready for you,but before I do that,I must know we are talking about the same :))
I don't know how it is done in java,but I believe you can use xlib also...

as for the C++ part:

- does the user application work with windows?,is it c++?
if so can YOU control the booting of the user program (I
mean,normally you can give the x and y and width and
height of the program,so I need you to set those things
because for what I have in mind,the applications x
value has to be a 10000 or so for a fraction of a
second))

What I have in mind is to catch the xlib events for the application window,and to record those.



Greetz,

The Muppeteer.

themuppeteer@hotmail.com

Don't eat yellow snow...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top