home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!memetral
- From: memetral@athena.mit.edu (Max E. Metral)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: WM_TIMER for non-window object
- Message-ID: <1992Aug14.155605.3709@athena.mit.edu>
- Date: 14 Aug 92 15:56:05 GMT
- Sender: news@athena.mit.edu (News system)
- Organization: Massachusetts Institute of Technology
- Lines: 15
- Nntp-Posting-Host: soup.mit.edu
-
-
- Hello all you MS C++ programmers out there. (Or is it just me?)
-
- I have a CServer object that represents, you guessed, a net server. It
- caches the connection for a certain amount of time, and if no activity occurs,
- it should drop the connection. Sort of like a network-saver.
-
- Anyway, I need the server object to be notified at either
- a.) specific intervals of time
- b.) (better) a certain time
-
- The only way I can think to do this is using WM_TIMER. I can't use callback
- methods, becuase then I have no way of knowing the object in question.
-
- Any suggestions?
-