Click here to Skip to main content
16,009,598 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCStatic Background color Pin
Anu_Bala19-May-10 23:34
Anu_Bala19-May-10 23:34 
AnswerRe: CStatic Background color [modified] Pin
Hristo-Bojilov20-May-10 0:37
Hristo-Bojilov20-May-10 0:37 
GeneralRe: CStatic Background color Pin
Anu_Bala20-May-10 1:29
Anu_Bala20-May-10 1:29 
QuestionOpen Control panel Using VC++ Pin
Sabid M19-May-10 21:17
Sabid M19-May-10 21:17 
AnswerRe: Open Control panel Using VC++ Pin
Hristo-Bojilov19-May-10 21:41
Hristo-Bojilov19-May-10 21:41 
GeneralRe: Open Control panel Using VC++ Pin
Sabid M19-May-10 22:40
Sabid M19-May-10 22:40 
QuestionRetrive System Serial Number Pin
kushMuchaal19-May-10 20:52
kushMuchaal19-May-10 20:52 
AnswerRe: Retrive System Serial Number Pin
CPallini19-May-10 21:00
mveCPallini19-May-10 21:00 
GeneralRe: Retrive System Serial Number Pin
kushMuchaal19-May-10 22:08
kushMuchaal19-May-10 22:08 
GeneralRe: Retrive System Serial Number Pin
kushMuchaal19-May-10 22:11
kushMuchaal19-May-10 22:11 
GeneralRe: Retrive System Serial Number Pin
Richard MacCutchan20-May-10 2:21
mveRichard MacCutchan20-May-10 2:21 
QuestionButton Size Pin
AbhiHcl19-May-10 19:27
AbhiHcl19-May-10 19:27 
AnswerRe: Button Size Pin
Stephen Hewitt19-May-10 20:03
Stephen Hewitt19-May-10 20:03 
GeneralRe: Button Size Pin
AbhiHcl19-May-10 21:35
AbhiHcl19-May-10 21:35 
AnswerRe: Button Size Pin
Aescleal19-May-10 22:57
Aescleal19-May-10 22:57 
QuestionAbout MSDN Library? Pin
Syouki_kou19-May-10 16:27
Syouki_kou19-May-10 16:27 
AnswerRe: About MSDN Library? Pin
Niklas L2-Jun-10 9:24
Niklas L2-Jun-10 9:24 
Questiondebugging app to find out which code module doesn't decrease a count Pin
abiemann19-May-10 10:43
abiemann19-May-10 10:43 
AnswerRe: debugging app to find out which code module doesn't decrease a count Pin
«_Superman_»19-May-10 10:53
professional«_Superman_»19-May-10 10:53 
AnswerRe: debugging app to find out which code module doesn't decrease a count Pin
abiemann19-May-10 11:06
abiemann19-May-10 11:06 
AnswerRe: debugging app to find out which code module doesn't decrease a count Pin
Luc Pattyn19-May-10 11:11
sitebuilderLuc Pattyn19-May-10 11:11 
GeneralRe: debugging app to find out which code module doesn't decrease a count [modified] Pin
abiemann19-May-10 11:23
abiemann19-May-10 11:23 
GeneralRe: debugging app to find out which code module doesn't decrease a count Pin
Luc Pattyn19-May-10 11:31
sitebuilderLuc Pattyn19-May-10 11:31 
if you have a limited number of id values, you can count their calls individually.
if they are many, you fold them to a smaller value.

And you already expect only one mishap, you could take advantage of that.
But first of all, you should inspect the potential multi-threading issue; your observation could simply be wrong!

I would avoid introducing fancy things (such as your linked list idea), as things in there can also go wrong; especially with a list, you would find it either difficult or expensive to get it thread-safe. Whatever code you add, it would better be thread-safe!

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

GeneralRe: debugging app to find out which code module doesn't decrease a count Pin
abiemann19-May-10 13:33
abiemann19-May-10 13:33 
AnswerRe: debugging app to find out which code module doesn't decrease a count Pin
Aescleal19-May-10 12:31
Aescleal19-May-10 12:31 

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.