Click here to Skip to main content
15,915,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help me Hook Copy/Paste Action. Pin
John R. Shaw16-Feb-06 19:49
John R. Shaw16-Feb-06 19:49 
GeneralRe: Help me Hook Copy/Paste Action. Pin
huynhnb16-Feb-06 20:11
huynhnb16-Feb-06 20:11 
GeneralRe: Help me Hook Copy/Paste Action. Pin
huynhnb16-Feb-06 20:43
huynhnb16-Feb-06 20:43 
GeneralRe: Help me Hook Copy/Paste Action. Pin
John R. Shaw16-Feb-06 21:44
John R. Shaw16-Feb-06 21:44 
Questionwindow design Pin
prabhathgk16-Feb-06 19:05
prabhathgk16-Feb-06 19:05 
AnswerRe: window design Pin
John R. Shaw16-Feb-06 19:31
John R. Shaw16-Feb-06 19:31 
QuestionQuestion about Threads Pin
Aqueel16-Feb-06 18:42
Aqueel16-Feb-06 18:42 
AnswerRe: Question about Threads Pin
Nick_Kisialiou16-Feb-06 19:12
Nick_Kisialiou16-Feb-06 19:12 
Briefly: TerminateThread()

Details: Avoid using this function:
a) Proper application cleanup does not occur: C++ object destructors aren't called, data isn't flushed to disk, and so on.
b) If TerminateThread is used, the system does not destroy the thread's stack until the process that owned the thread terminates.
c) DLLs usually receive notifications when a thread is terminating. If a thread is forcibly killed with TerminateThread, however, the DLLs do not receive this notification, which can prevent proper cleanup.

If you link your application to the C++ standard library, consider using _beginthreadex(...) and _endthreadex(...).
AnswerRe: Question about Threads Pin
QuickDeveloper16-Feb-06 19:16
QuickDeveloper16-Feb-06 19:16 
AnswerRe: Question about Threads Pin
Stephen Hewitt16-Feb-06 19:47
Stephen Hewitt16-Feb-06 19:47 
GeneralRe: Question about Threads Pin
Nick_Kisialiou16-Feb-06 19:54
Nick_Kisialiou16-Feb-06 19:54 
GeneralRe: Question about Threads Pin
Stephen Hewitt16-Feb-06 19:58
Stephen Hewitt16-Feb-06 19:58 
GeneralRe: Question about Threads Pin
Nick_Kisialiou16-Feb-06 20:14
Nick_Kisialiou16-Feb-06 20:14 
GeneralRe: Question about Threads Pin
Stephen Hewitt19-Feb-06 11:11
Stephen Hewitt19-Feb-06 11:11 
AnswerRe: Question about Threads Pin
BadKarma16-Feb-06 20:53
BadKarma16-Feb-06 20:53 
GeneralRe: Question about Threads [modified] Pin
BadKarma25-May-06 12:52
BadKarma25-May-06 12:52 
AnswerRe: Question about Threads Pin
Aqueel17-Feb-06 17:31
Aqueel17-Feb-06 17:31 
AnswerRe: Question about Threads Pin
ThatsAlok17-Feb-06 21:47
ThatsAlok17-Feb-06 21:47 
QuestionGetSafeHdc() allocates new memory or not Pin
anilksingh16-Feb-06 18:38
anilksingh16-Feb-06 18:38 
AnswerRe: GetSafeHdc() allocates new memory or not Pin
Ryan Binns16-Feb-06 19:45
Ryan Binns16-Feb-06 19:45 
AnswerRe: GetSafeHdc() allocates new memory or not Pin
John R. Shaw16-Feb-06 19:57
John R. Shaw16-Feb-06 19:57 
AnswerRe: GetSafeHdc() allocates new memory or not Pin
ThatsAlok17-Feb-06 3:42
ThatsAlok17-Feb-06 3:42 
QuestionQuestion about create simple image in c++/MFC Pin
Yanshof16-Feb-06 18:20
Yanshof16-Feb-06 18:20 
AnswerRe: Question about create simple image in c++/MFC Pin
Stephen Hewitt16-Feb-06 18:36
Stephen Hewitt16-Feb-06 18:36 
AnswerRe: Question about create simple image in c++/MFC Pin
John R. Shaw16-Feb-06 20:03
John R. Shaw16-Feb-06 20:03 

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.