Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSuperGrid Pin
18-Dec-00 23:57
suss18-Dec-00 23:57 
GeneralRe: SuperGrid Pin
19-Dec-00 2:37
suss19-Dec-00 2:37 
GeneralProblem with Access file and Class Wizard Pin
Wolfram Steinke18-Dec-00 23:05
Wolfram Steinke18-Dec-00 23:05 
GeneralRe: Problem with Access file and Class Wizard Pin
Steve Driessens19-Dec-00 2:01
Steve Driessens19-Dec-00 2:01 
GeneralRe: Problem with Access file and Class Wizard Pin
19-Dec-00 2:22
suss19-Dec-00 2:22 
GeneralCreating Single instance Application Pin
18-Dec-00 17:24
suss18-Dec-00 17:24 
GeneralRe: Creating Single instance Application Pin
Kannan18-Dec-00 18:15
Kannan18-Dec-00 18:15 
GeneralRe: Creating Single instance Application Pin
Bartosz Lizak20-Dec-00 0:06
Bartosz Lizak20-Dec-00 0:06 
Hello, Poke tongue | ;-P

it works fine, but if you have open another window with the same name (e.g. explorer window or application with the same name) your application won't start.

Better way is to create some kernel object (MS suggest mutex) when your application starts and destroy at ending. Before creating you simply try to open such object and if succeded it means that your application is already running.


Regards
Bartek
Questionhow to use timers in a non MFC class? Pin
Joan M18-Dec-00 11:21
professionalJoan M18-Dec-00 11:21 
AnswerRe: how to use timers in a non MFC class? Pin
Bartosz Lizak18-Dec-00 21:54
Bartosz Lizak18-Dec-00 21:54 
GeneralRe: how to use timers in a non MFC class? Pin
Erik Funkenbusch19-Dec-00 11:21
Erik Funkenbusch19-Dec-00 11:21 
GeneralRe: how to use timers in a non MFC class? Pin
Bartosz Lizak19-Dec-00 23:51
Bartosz Lizak19-Dec-00 23:51 
GeneralWinamp Style Ticker... Pin
18-Dec-00 9:20
suss18-Dec-00 9:20 
GeneralRe: Winamp Style Ticker... Pin
Bartosz Lizak18-Dec-00 22:07
Bartosz Lizak18-Dec-00 22:07 
GeneralMessageBeep(...) for specified length of time Pin
David Wulff18-Dec-00 5:16
David Wulff18-Dec-00 5:16 
GeneralRe: MessageBeep(...) for specified length of time Pin
18-Dec-00 9:06
suss18-Dec-00 9:06 
GeneralIP of Linksys Router (Cable) Pin
Todd Hoop18-Dec-00 3:47
Todd Hoop18-Dec-00 3:47 
GeneralWrapping a MFC Wnd in ATL Control Pin
NormDroid18-Dec-00 0:42
professionalNormDroid18-Dec-00 0:42 
GeneralCListViewCtrl Pin
17-Dec-00 22:52
suss17-Dec-00 22:52 
GeneralRe: CListViewCtrl Pin
Bartosz Lizak18-Dec-00 22:13
Bartosz Lizak18-Dec-00 22:13 
QuestionQ: Sending an e-mail programatically? Pin
Bartosz Lizak17-Dec-00 21:41
Bartosz Lizak17-Dec-00 21:41 
AnswerRe: Q: Sending an e-mail programatically? Pin
John Aspras18-Dec-00 0:17
John Aspras18-Dec-00 0:17 
AnswerRe: Q: Sending an e-mail programatically? Pin
Liu18-Dec-00 3:09
Liu18-Dec-00 3:09 
AnswerRe: Q: Sending an e-mail programatically? Pin
Bartosz Lizak18-Dec-00 4:02
Bartosz Lizak18-Dec-00 4:02 
GeneralRe: Q: Sending an e-mail programatically? Pin
Jim Howard18-Dec-00 4:11
Jim Howard18-Dec-00 4:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.