home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!rutgers!micro-heart-of-gold.mit.edu!xn.ll.mit.edu!ll.mit.edu!khamsi
- From: khamsi@ll.mit.edu (Sarir Khamsi)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Sending message for multiple program instances
- Message-ID: <9212291505.PN05751@LL.MIT.EDU>
- Date: 29 Dec 92 20:05:05 GMT
- Sender: news@ll.mit.edu
- Distribution: comp
- Organization: MIT Lincoln Laboratory
- Lines: 18
-
- Yo,
-
- Does somebody have a code segment that will display a message window
- (with OK button) stating that the program is currently running? I am
- using the condition :
-
- if( hPrevInstance)
- return FALSE;
-
- in my WinMain() to check currently, but it tells the user nothing.
- Thanks in advance.
-
- --
- Sarir (Riri) Khamsi - khamsi@ll.mit.edu
- MIT Lincoln Laboratoy
- 244 Wood St.
- Lexington, MA 02173
- USA
-