Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorting a Sub Classed List Control Pin
Chris Meech31-May-01 4:41
Chris Meech31-May-01 4:41 
GeneralNewbie Question Pin
31-May-01 1:56
suss31-May-01 1:56 
GeneralRe: Newbie Question Pin
Christian Graus31-May-01 2:06
protectorChristian Graus31-May-01 2:06 
GeneralRe: Newbie Question Pin
31-May-01 2:13
suss31-May-01 2:13 
GeneralTooltips Icon & Bold Text Pin
Mark Keogh31-May-01 1:29
Mark Keogh31-May-01 1:29 
GeneralRe: Tooltips Icon & Bold Text Pin
Tomasz Sowinski31-May-01 1:37
Tomasz Sowinski31-May-01 1:37 
GeneralAnother copy of Pin
Muslim31-May-01 1:25
Muslim31-May-01 1:25 
GeneralRe: Another copy of Pin
Igor Sukhov31-May-01 2:54
Igor Sukhov31-May-01 2:54 
Hi !

The most common way is to create a named (with a unique name) kernel object (say - mutex) on your programm start up (::CreateMutex() ). In case if the return value will be NULL you shoudl call to GetLastError() and if you'll get the ERROR_ALREADY_EXISTS - it will show you that this is not a first instance of your programm. And you have to close the object before programm exit... (or you wont be able
to run even first copy Wink | ;)

Best regards,

-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor_soukhov@yahoo.com | ICQ:57404554 | http://siv.da.ru
GeneralApplication does not run over a network Pin
David Osborn31-May-01 0:15
David Osborn31-May-01 0:15 
GeneralRe: Application does not run over a network Pin
Tomasz Sowinski31-May-01 0:18
Tomasz Sowinski31-May-01 0:18 
GeneralRe: Application does not run over a network Pin
David Osborn31-May-01 0:56
David Osborn31-May-01 0:56 
GeneralRe: Application does not run over a network Pin
Tomasz Sowinski31-May-01 1:14
Tomasz Sowinski31-May-01 1:14 
GeneralRe: Application does not run over a network Pin
David Osborn31-May-01 2:54
David Osborn31-May-01 2:54 
GeneralRe: Application does not run over a network Pin
Tomasz Sowinski31-May-01 3:01
Tomasz Sowinski31-May-01 3:01 
GeneralRe: Application does not run over a network Pin
Carlos Antollini31-May-01 3:51
Carlos Antollini31-May-01 3:51 
GeneralRe: Application does not run over a network Pin
David Osborn31-May-01 4:14
David Osborn31-May-01 4:14 
GeneralRe: Application does not run over a network [Bug] Pin
Ghazi H. Wadi31-May-01 4:35
Ghazi H. Wadi31-May-01 4:35 
GeneralRe: Application does not run over a network [Bug] Pin
David Osborn31-May-01 5:51
David Osborn31-May-01 5:51 
GeneralInclude and library path Pin
31-May-01 0:05
suss31-May-01 0:05 
GeneralRe: Include and library path Pin
Tomasz Sowinski31-May-01 0:15
Tomasz Sowinski31-May-01 0:15 
GeneralRe: Include and library path Pin
31-May-01 22:15
suss31-May-01 22:15 
Questionhow to check if a specific field has a NULL value? Pin
Bartek30-May-01 23:23
Bartek30-May-01 23:23 
AnswerRe: how to check if a specific field has a NULL value? Pin
Christian Graus30-May-01 23:33
protectorChristian Graus30-May-01 23:33 
GeneralRe: how to check if a specific field has a NULL value? Pin
Bartek30-May-01 23:57
Bartek30-May-01 23:57 
AnswerRe: how to check if a specific field has a NULL value? Pin
coder847230-May-01 23:41
coder847230-May-01 23:41 

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.