🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1899

Sending message for multiple program instances

#1899
From: Sarir Khamsi
Date: Tue, 29 Dec 1992 20:05
18 lines
868 bytes
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
Technical Details
Message-ID: <9212291505.PN05751@LL.MIT.EDU>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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