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

C / C++ / MFC

 
GeneralRe: Creation of install shield Pin
shir_k4-Oct-09 21:24
shir_k4-Oct-09 21:24 
Questionhow to convert char * to char[100] Pin
prithaa22-Sep-09 3:54
prithaa22-Sep-09 3:54 
AnswerRe: how to convert char * to char[100] Pin
Chris Losinger22-Sep-09 4:10
professionalChris Losinger22-Sep-09 4:10 
AnswerRe: how to convert char * to char[100] Pin
Rajesh R Subramanian22-Sep-09 4:30
professionalRajesh R Subramanian22-Sep-09 4:30 
Generalagree! Pin
etkid8422-Sep-09 5:55
etkid8422-Sep-09 5:55 
GeneralRe: agree! Pin
Rajesh R Subramanian22-Sep-09 6:01
professionalRajesh R Subramanian22-Sep-09 6:01 
Generaloops, my bad Pin
etkid8422-Sep-09 6:10
etkid8422-Sep-09 6:10 
AnswerRe: how to convert char * to char[100] Pin
Skippums22-Sep-09 8:57
Skippums22-Sep-09 8:57 
QuestionHow to get cureent url from firefox address bar... Pin
onlyjaypatel22-Sep-09 3:35
onlyjaypatel22-Sep-09 3:35 
Questionaccess to the task manager Pin
einstein.girl22-Sep-09 3:27
einstein.girl22-Sep-09 3:27 
QuestionRe: access to the task manager Pin
David Crow22-Sep-09 3:34
David Crow22-Sep-09 3:34 
AnswerRe: access to the task manager Pin
kilt24-Sep-09 7:10
kilt24-Sep-09 7:10 
QuestionSleep Pin
VVVimal22-Sep-09 3:24
VVVimal22-Sep-09 3:24 
QuestionRe: Sleep Pin
David Crow22-Sep-09 3:35
David Crow22-Sep-09 3:35 
AnswerRe: Sleep Pin
VVVimal22-Sep-09 4:12
VVVimal22-Sep-09 4:12 
GeneralRe: Sleep Pin
David Crow22-Sep-09 4:13
David Crow22-Sep-09 4:13 
GeneralRe: Sleep Pin
Maximilien22-Sep-09 4:40
Maximilien22-Sep-09 4:40 
AnswerRe: Sleep Pin
Rajesh R Subramanian22-Sep-09 4:28
professionalRajesh R Subramanian22-Sep-09 4:28 
GeneralRe: Sleep Pin
etkid8422-Sep-09 6:15
etkid8422-Sep-09 6:15 
GeneralRe: Sleep Pin
Rajesh R Subramanian22-Sep-09 6:20
professionalRajesh R Subramanian22-Sep-09 6:20 
AnswerRe: Sleep Pin
etkid8422-Sep-09 6:24
etkid8422-Sep-09 6:24 
AnswerRe: Sleep Pin
Chuck O'Toole22-Sep-09 15:26
Chuck O'Toole22-Sep-09 15:26 
I use Sleep() all the time in threaded code, there's no reason it should cause the termination in and of itself.

However, the thread code you show runs in the context of a larger program, notably the main thread which created the thread you show. What is that thread doing? If it exits, it will take the created thread down with it.

Make sure the main code is waiting for this thread to terminate before it does.
AnswerRe: Sleep Pin
chandu00422-Sep-09 21:01
chandu00422-Sep-09 21:01 
GeneralRe: Sleep Pin
VVVimal30-Sep-09 2:05
VVVimal30-Sep-09 2:05 
GeneralRe: Sleep Pin
Chuck O'Toole30-Sep-09 8:58
Chuck O'Toole30-Sep-09 8:58 

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.