Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: marshalling Pin
Stephen Hewitt18-Jun-06 14:51
Stephen Hewitt18-Jun-06 14:51 
QuestionCreating bitmap from memory file Pin
Andre xxxxxxx17-Jun-06 13:58
Andre xxxxxxx17-Jun-06 13:58 
AnswerRe: Creating bitmap from memory file Pin
bob1697217-Jun-06 18:34
bob1697217-Jun-06 18:34 
GeneralRe: Creating bitmap from memory file Pin
Andre xxxxxxx18-Jun-06 0:03
Andre xxxxxxx18-Jun-06 0:03 
GeneralRe: Creating bitmap from memory file Pin
bob1697218-Jun-06 7:12
bob1697218-Jun-06 7:12 
AnswerRe: Creating bitmap from memory file Pin
Justin Tay18-Jun-06 0:16
Justin Tay18-Jun-06 0:16 
GeneralRe: Creating bitmap from memory file [modified] Pin
Andre xxxxxxx18-Jun-06 0:55
Andre xxxxxxx18-Jun-06 0:55 
Questiona question about a thread Pin
Roj17-Jun-06 11:05
Roj17-Jun-06 11:05 
I have a program with a thread which appears to work, but it does something strange. The thread contains an infinite loop with a particular condition to exit the loop. The program runs as a console program. The thing that is strange is that the function that creates the thread starts the thread and I can see the numbers being printed on the screen, but then it suddenly ends. I can increase the amount of numbers being printed on the screen by putting a Sleep method in the calling function that creates the thread. Why does it do this? I would expect that the thread should continue to print numbers until the condition to jump out of the while loop is reached. I don't really understand threads that well so maybe my assumptions are wrong. It seems like the function that creates the thread ends and then the thread ends as well. Is this what is happening and I need to somehow stall the calling function from ending in order for the thread to do everything that I want it to do?

D'Oh! | :doh:

Z.K.
AnswerRe: a question about a thread Pin
Roj17-Jun-06 11:15
Roj17-Jun-06 11:15 
QuestionVS7 & ATL: Exposing an enum type on COM interface Pin
Ian McLauchlan17-Jun-06 7:38
Ian McLauchlan17-Jun-06 7:38 
QuestionWho may provide a plot curve the example? Pin
alan top17-Jun-06 4:25
alan top17-Jun-06 4:25 
AnswerRe: Who may provide a plot curve the example? Pin
Jun Du17-Jun-06 5:39
Jun Du17-Jun-06 5:39 
AnswerRe: Who may provide a plot curve the example? Pin
Hamid_RT17-Jun-06 8:48
Hamid_RT17-Jun-06 8:48 
AnswerRe: Who may provide a plot curve the example? Pin
alan top17-Jun-06 15:36
alan top17-Jun-06 15:36 
QuestionHow to change the background of a label? Pin
mosali satish17-Jun-06 2:55
mosali satish17-Jun-06 2:55 
AnswerRe: How to change the background of a label? Pin
Laxman Auti17-Jun-06 3:17
Laxman Auti17-Jun-06 3:17 
AnswerRe: How to change the background of a label? Pin
_AnsHUMAN_ 17-Jun-06 3:33
_AnsHUMAN_ 17-Jun-06 3:33 
Questionhow we can add new items in list control Pin
vasusree17-Jun-06 2:41
vasusree17-Jun-06 2:41 
AnswerRe: how we can add new items in list control [modified] Pin
_AnsHUMAN_ 17-Jun-06 2:51
_AnsHUMAN_ 17-Jun-06 2:51 
AnswerRe: how we can add new items in list control Pin
Laxman Auti17-Jun-06 3:45
Laxman Auti17-Jun-06 3:45 
AnswerRe: how we can add new items in list control Pin
Hamid_RT17-Jun-06 7:12
Hamid_RT17-Jun-06 7:12 
QuestionSetWindowsHookEx gives desired result only once? Pin
ROWALI17-Jun-06 1:54
ROWALI17-Jun-06 1:54 
AnswerRe: SetWindowsHookEx gives desired result only once? [modified] Pin
Stephen Hewitt17-Jun-06 2:38
Stephen Hewitt17-Jun-06 2:38 
GeneralRe: SetWindowsHookEx gives desired result only once? Pin
FarPointer17-Jun-06 21:32
FarPointer17-Jun-06 21:32 
GeneralRe: SetWindowsHookEx gives desired result only once? Pin
peterchen18-Jun-06 9:34
peterchen18-Jun-06 9:34 

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.