Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: runtime type casting Pin
Nuxser3-Jul-07 16:17
Nuxser3-Jul-07 16:17 
Questionget Distinguished Email id from GAL Pin
Ganesh_T3-Jul-07 5:47
Ganesh_T3-Jul-07 5:47 
QuestionThread syncronization Win32 Pin
Alex Cutovoi3-Jul-07 5:26
Alex Cutovoi3-Jul-07 5:26 
AnswerRe: Thread syncronization Win32 Pin
Matthew Faithfull3-Jul-07 6:08
Matthew Faithfull3-Jul-07 6:08 
AnswerRe: Thread syncronization Win32 Pin
led mike3-Jul-07 6:19
led mike3-Jul-07 6:19 
GeneralRe: Thread syncronization Win32 Pin
Alex Cutovoi3-Jul-07 6:46
Alex Cutovoi3-Jul-07 6:46 
GeneralRe: Thread syncronization Win32 Pin
led mike3-Jul-07 8:26
led mike3-Jul-07 8:26 
GeneralRe: Thread syncronization Win32 Pin
Alex Cutovoi5-Jul-07 6:53
Alex Cutovoi5-Jul-07 6:53 
Look, I'll explain better.

What I really want is the threads access the resource in the order that they started. What that is not occur at the moment.
Example, I have 4 thread(thread1, thread2, thread3, thread4).
If I start the threads in a sequence like thread4, thread2, thread1, thread3, the threads must access the resource in this sequence. Even with the CriticalSection, this is not occur. The threads access the resource in an arbitrary order. The only thing that works is that the resource is accessed for one thread at a time.
I've tried to put a mutex to guarantee this type of access but I didn't get the expected results.
This is EXACTLY what I want.
GeneralRe: Thread syncronization Win32 Pin
led mike5-Jul-07 7:17
led mike5-Jul-07 7:17 
GeneralRe: Thread syncronization Win32 Pin
Alex Cutovoi5-Jul-07 11:29
Alex Cutovoi5-Jul-07 11:29 
QuestionGraphic control on CFormView Pin
kcselvaraj3-Jul-07 5:05
kcselvaraj3-Jul-07 5:05 
AnswerRe: Graphic control on CFormView Pin
Mark Salsbery3-Jul-07 8:10
Mark Salsbery3-Jul-07 8:10 
GeneralRe: Graphic control on CFormView [modified] Pin
kcselvaraj3-Jul-07 10:14
kcselvaraj3-Jul-07 10:14 
Questionerrors on linking for *.def file Options Pin
A7Zulu3-Jul-07 4:30
A7Zulu3-Jul-07 4:30 
AnswerRe: errors on linking for *.def file Options Pin
Iain Clarke, Warrior Programmer3-Jul-07 5:53
Iain Clarke, Warrior Programmer3-Jul-07 5:53 
QuestionGeneric USB access Pin
legit3-Jul-07 4:08
legit3-Jul-07 4:08 
AnswerRe: Generic USB access Pin
CPallini3-Jul-07 4:17
mveCPallini3-Jul-07 4:17 
QuestionNeed Links of Microsoft Windows NT architecture for reading Pin
Neeranjan3-Jul-07 4:01
Neeranjan3-Jul-07 4:01 
AnswerRe: Need Links of Microsoft Windows NT architecture for reading [modified] Pin
led mike3-Jul-07 4:56
led mike3-Jul-07 4:56 
AnswerHave you heard of Google? Pin
leckey3-Jul-07 7:59
leckey3-Jul-07 7:59 
GeneralRe: Have you heard of Google? Pin
Mark Salsbery3-Jul-07 8:12
Mark Salsbery3-Jul-07 8:12 
AnswerRe: Need Links of Microsoft Windows NT architecture for reading Pin
Nemanja Trifunovic3-Jul-07 9:32
Nemanja Trifunovic3-Jul-07 9:32 
AnswerRe: Need Links of Microsoft Windows NT architecture for reading Pin
Neeranjan3-Jul-07 21:47
Neeranjan3-Jul-07 21:47 
QuestionHow to search for hard coded string in VC++ code Pin
Neeranjan3-Jul-07 3:47
Neeranjan3-Jul-07 3:47 
QuestionRe: How to search for hard coded string in VC++ code Pin
David Crow3-Jul-07 8:44
David Crow3-Jul-07 8:44 

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.