home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!rutgers!rochester!galileo.cc.rochester.edu!sherman.pas.rochester.edu!kevin
- From: kevin@sherman.pas.rochester.edu (kevin mcfadden)
- Newsgroups: comp.lang.c
- Subject: Continuous Updating
- Message-ID: <1992Aug18.145325.10933@galileo.cc.rochester.edu>
- Date: 18 Aug 92 14:53:25 GMT
- Sender: news@galileo.cc.rochester.edu
- Distribution: na
- Organization: University of Rochester
- Lines: 24
- Nntp-Posting-Host: sherman.pas.rochester.edu
-
- First off, thanks to those who replied to my message about monitoring a file.
-
- Secondly, I have a question (which begets more questions :)
-
- 1) Is there a way to monitor the update file so that when it is changed
- it is detected almost immediately and then read in? I have come up
- with three methods:
- a) using some sort of loop that checks when it
- comes to that part of the loop [extremely inefficient],
-
- b) the program is being written w/ the help of devGuide
- (openwindow development tool) and the update function
- can be triggered by a mouse moving in or out
- of a window [mouse has to be moved, can't monitor on its own], and
-
- c) have another program monitor the file and then send an update
- to the gui [ don't know it is possible for an outside program
- to send commands into the openwindows program or be able
- to execute openwin commands from the outside
- that pertain to the other program]
-
- Any help is greatly appreciated!
-
- Kevin
-