Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: netsh mfc -- ok but (anyone please try to help me) Pin
Ravi Bhavnani6-Mar-07 6:08
professionalRavi Bhavnani6-Mar-07 6:08 
GeneralRe: netsh mfc -- ok but (anyone please try to help me) Pin
Ravi Bhavnani6-Mar-07 6:22
professionalRavi Bhavnani6-Mar-07 6:22 
GeneralRe: netsh mfc -- please help me Pin
David Crow6-Mar-07 6:56
David Crow6-Mar-07 6:56 
GeneralRe: netsh mfc -- please help me Pin
deeps_cute6-Mar-07 16:16
deeps_cute6-Mar-07 16:16 
QuestionRe: netsh mfc -- please help me Pin
David Crow7-Mar-07 2:43
David Crow7-Mar-07 2:43 
QuestionHow can i make the toolbar active bt default. Pin
johny_koshy6-Mar-07 4:19
johny_koshy6-Mar-07 4:19 
Questionabout SetTimer Pin
mfc_dialog6-Mar-07 4:11
mfc_dialog6-Mar-07 4:11 
AnswerRe: about SetTimer Pin
Roger Stoltz6-Mar-07 4:51
Roger Stoltz6-Mar-07 4:51 
mfc_dialog wrote:
In single-thread application
...
need like multiple-thread add read-write lock?


I don't really understand what you mean, it's not clear to me whether your application is single-threaded or multi-threaded.

As always when different threads are accessing the same data the threads have to be synchronized. Using ::EnterCriticalSection() and ::LeaveCriticalSection() is a good choice.

If your application is single-threaded there's no need for thread synchronization since all data will be both read and written by the one and only thread.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralTemplate member functions Pin
hairy_hats6-Mar-07 1:35
hairy_hats6-Mar-07 1:35 
QuestionRe: Template member functions Pin
prasad_som6-Mar-07 1:54
prasad_som6-Mar-07 1:54 
GeneralRe: Template member functions Pin
Maximilien6-Mar-07 2:37
Maximilien6-Mar-07 2:37 
GeneralRe: Template member functions Pin
Stephen Hewitt6-Mar-07 11:52
Stephen Hewitt6-Mar-07 11:52 
Questionopen(char*,...) fails with "Too many open files" ..help me pls Pin
dharani6-Mar-07 1:32
dharani6-Mar-07 1:32 
AnswerRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
David Crow6-Mar-07 2:49
David Crow6-Mar-07 2:49 
AnswerRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
Nemanja Trifunovic6-Mar-07 3:15
Nemanja Trifunovic6-Mar-07 3:15 
AnswerRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
Blake Miller6-Mar-07 6:50
Blake Miller6-Mar-07 6:50 
GeneralRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
dharani6-Mar-07 17:23
dharani6-Mar-07 17:23 
GeneralRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
kakan6-Mar-07 19:14
professionalkakan6-Mar-07 19:14 
GeneralRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
Blake Miller7-Mar-07 10:14
Blake Miller7-Mar-07 10:14 
QuestionRe: open(char*,...) fails with "Too many open files" ..help me pls Pin
David Crow7-Mar-07 2:54
David Crow7-Mar-07 2:54 
QuestionHow to disable CD drive Pin
VC_RYK6-Mar-07 1:23
VC_RYK6-Mar-07 1:23 
AnswerRe: How to disable CD drive Pin
Newbie006-Mar-07 2:16
Newbie006-Mar-07 2:16 
AnswerRe: How to disable CD drive Pin
Super Hornet6-Mar-07 6:37
Super Hornet6-Mar-07 6:37 
GeneralRe: How to disable CD drive Pin
VC_RYK6-Mar-07 20:22
VC_RYK6-Mar-07 20:22 
QuestionIPadderss details mfc Pin
deeps_cute6-Mar-07 1:20
deeps_cute6-Mar-07 1:20 

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.