Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Code worked in visual studio 6, not working in visual c++ 2005 Pin
Steve Echols5-Jun-07 17:21
Steve Echols5-Jun-07 17:21 
GeneralRe: Code worked in visual studio 6, not working in visual c++ 2005 Pin
Kataric5-Jun-07 21:28
Kataric5-Jun-07 21:28 
GeneralRe: Code worked in visual studio 6, not working in visual c++ 2005 Pin
Kataric6-Jun-07 10:35
Kataric6-Jun-07 10:35 
GeneralRe: Code worked in visual studio 6, not working in visual c++ 2005 Pin
Steve Echols6-Jun-07 11:42
Steve Echols6-Jun-07 11:42 
Questionhow i can compare 2 string without caring for Uppercase? Pin
Immunity185-Jun-07 13:49
Immunity185-Jun-07 13:49 
AnswerRe: how i can compare 2 string without caring for Uppercase? Pin
Christian Graus5-Jun-07 14:09
protectorChristian Graus5-Jun-07 14:09 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Immunity185-Jun-07 14:10
Immunity185-Jun-07 14:10 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Immunity185-Jun-07 14:11
Immunity185-Jun-07 14:11 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Naveen5-Jun-07 14:19
Naveen5-Jun-07 14:19 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Immunity185-Jun-07 14:21
Immunity185-Jun-07 14:21 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Immunity185-Jun-07 14:16
Immunity185-Jun-07 14:16 
AnswerRe: how i can compare 2 string without caring for Uppercase? Pin
Mark Salsbery5-Jun-07 14:17
Mark Salsbery5-Jun-07 14:17 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Immunity185-Jun-07 14:18
Immunity185-Jun-07 14:18 
GeneralRe: how i can compare 2 string without caring for Uppercase? Pin
Mark Salsbery5-Jun-07 14:24
Mark Salsbery5-Jun-07 14:24 
QuestionExitThread() Pin
dellthinker5-Jun-07 13:14
dellthinker5-Jun-07 13:14 
AnswerRe: ExitThread() Pin
Naveen5-Jun-07 14:20
Naveen5-Jun-07 14:20 
AnswerRe: ExitThread() Pin
Stephen Hewitt5-Jun-07 14:21
Stephen Hewitt5-Jun-07 14:21 
QuestionAdding new section to PE Pin
edvintas5-Jun-07 11:19
edvintas5-Jun-07 11:19 
AnswerRe: Adding new section to PE Pin
Stephen Hewitt5-Jun-07 14:27
Stephen Hewitt5-Jun-07 14:27 
Questionusing fstream to read resource data c++ Pin
bimgot5-Jun-07 9:48
bimgot5-Jun-07 9:48 
AnswerRe: using fstream to read resource data c++ Pin
David Crow5-Jun-07 10:12
David Crow5-Jun-07 10:12 
GeneralRe: using fstream to read resource data c++ Pin
bimgot5-Jun-07 14:00
bimgot5-Jun-07 14:00 
QuestionAsynchronous Cross-thread Signaling Pin
Cyrilix5-Jun-07 7:23
Cyrilix5-Jun-07 7:23 
I was wondering how the operating system handles this (if it's at all possible). I was thinking that the main thread could hook itself to an event (that when signaled, outputs the word "foo" to console) and then spawn a child thread that does some work. When the child thread is done work, it would raise a signal to the event that the main thread would catch, before the child thread terminates.

The concept I'm having trouble working around is the following:

Main Thread              Child Thread
  |
  |--------------------------->
  |                           |
  |                           |
  |                           |
  |<---------------------------
  |
  |


When the child thread raises the signal, and the main thread catches it, would it stop whatever it's currently executing to write the word "foo" to console, then continue on with whatever it's doing?
AnswerRe: Asynchronous Cross-thread Signaling Pin
KellyR5-Jun-07 8:38
KellyR5-Jun-07 8:38 
AnswerRe: Asynchronous Cross-thread Signaling Pin
Matthew Faithfull5-Jun-07 8:44
Matthew Faithfull5-Jun-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.