Click here to Skip to main content
15,909,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how to create a dialog box? Pin
Roger Broomfield14-Oct-07 21:43
Roger Broomfield14-Oct-07 21:43 
AnswerRe: how to create a dialog box? Pin
chandu00414-Oct-07 21:54
chandu00414-Oct-07 21:54 
GeneralRe: how to create a dialog box? Pin
JudyL_MD15-Oct-07 2:35
JudyL_MD15-Oct-07 2:35 
GeneralRe: how to create a dialog box? Pin
David Crow15-Oct-07 4:20
David Crow15-Oct-07 4:20 
AnswerRe: how to create a dialog box? Pin
Nibu babu thomas14-Oct-07 21:24
Nibu babu thomas14-Oct-07 21:24 
QuestionADsSecurity.dll [modified] Pin
narayanagvs14-Oct-07 20:04
narayanagvs14-Oct-07 20:04 
Questionabout two or more processes ReadWrite a file simultaneity? Pin
HOW WHAT14-Oct-07 19:52
HOW WHAT14-Oct-07 19:52 
AnswerRe: about two or more processes ReadWrite a file simultaneity? Pin
chandu00414-Oct-07 21:25
chandu00414-Oct-07 21:25 
use some global flags(may be two or three),
which indicate the state of the other thread.
say for example,
int process1flag=0,process2flag=0;
and make the flag 1 if it is writing and make it 2 if it is reading.
after write or read operations, reset them to 0.
observe the same in the other process and take the decission depending on the flags.


Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.

GeneralRe: about two or more processes ReadWrite a file simultaneity? Pin
Naveen14-Oct-07 21:46
Naveen14-Oct-07 21:46 
GeneralRe: about two or more processes ReadWrite a file simultaneity? Pin
chandu00414-Oct-07 21:56
chandu00414-Oct-07 21:56 
AnswerRe: about two or more processes ReadWrite a file simultaneity? Pin
Naveen14-Oct-07 21:45
Naveen14-Oct-07 21:45 
QuestionAbout Windows Media Encoder SDK Pin
zakkas248314-Oct-07 18:28
zakkas248314-Oct-07 18:28 
Questiona problem about AllocSysString() Pin
nibabug14-Oct-07 17:34
nibabug14-Oct-07 17:34 
AnswerRe: a problem about AllocSysString() Pin
chandu00414-Oct-07 21:33
chandu00414-Oct-07 21:33 
QuestionHow to pass a struct to worker thread? [modified] Pin
kuibing14-Oct-07 16:54
kuibing14-Oct-07 16:54 
AnswerRe: How to pass a struct to worker thread? Pin
David Crow14-Oct-07 16:59
David Crow14-Oct-07 16:59 
Generalthanks a lot~ Pin
kuibing14-Oct-07 17:21
kuibing14-Oct-07 17:21 
QuestionDifferent Right menu for different area Pin
Michel_Huang14-Oct-07 16:54
Michel_Huang14-Oct-07 16:54 
AnswerRe: Different Right menu for different area Pin
David Crow14-Oct-07 17:01
David Crow14-Oct-07 17:01 
AnswerRe: Different Right menu for different area Pin
kuibing14-Oct-07 17:03
kuibing14-Oct-07 17:03 
GeneralRe: Different Right menu for different area Pin
Michel_Huang14-Oct-07 17:14
Michel_Huang14-Oct-07 17:14 
AnswerRe: Different Right menu for different area Pin
Michel_Huang14-Oct-07 17:13
Michel_Huang14-Oct-07 17:13 
QuestionHow to clone a dialog Pin
s196675m14-Oct-07 13:47
s196675m14-Oct-07 13:47 
QuestionRe: How to clone a dialog Pin
David Crow14-Oct-07 17:03
David Crow14-Oct-07 17:03 
AnswerRe: How to clone a dialog Pin
s196675m14-Oct-07 17:26
s196675m14-Oct-07 17:26 

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.