Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: linker problem Pin
devvvy12-Nov-02 20:20
devvvy12-Nov-02 20:20 
GeneralRe: linker problem Pin
Joaquín M López Muñoz12-Nov-02 20:33
Joaquín M López Muñoz12-Nov-02 20:33 
GeneralRe: linker problem Pin
devvvy12-Nov-02 23:10
devvvy12-Nov-02 23:10 
GeneralRe: linker problem Pin
devvvy13-Nov-02 0:07
devvvy13-Nov-02 0:07 
GeneralOutput STL string into file. Pin
Michael Liu12-Nov-02 10:21
Michael Liu12-Nov-02 10:21 
GeneralRe: Output STL string into file. Pin
Christian Graus12-Nov-02 10:33
protectorChristian Graus12-Nov-02 10:33 
QuestionSendMessage Inside a UI thread to the Main App.. Is this bad? Pin
Anonymous12-Nov-02 10:15
Anonymous12-Nov-02 10:15 
AnswerRe: SendMessage Inside a UI thread to the Main App.. Is this bad? Pin
Dave Bryant12-Nov-02 10:21
Dave Bryant12-Nov-02 10:21 
SendMessage() sends a message to the target window synchronously - i.e. it waits for the message to be processed before returning. Consequently, it is inherently dangerous to use SendMessage() to send messages between threads. It blocks the sending thread until the message is processed, and so if the target thread then does something that requires a response from the first thread, deadlock will occur. It is possible to design your application in such a way to ensure this will not happen, but it is generally not the preferred option. Generally you should use PostMessage() or PostThreadMessage() to communicate betweeen UI threads.

Dave
GeneralRe: SendMessage Inside a UI thread to the Main App.. Is this bad? Pin
Anonymous12-Nov-02 10:28
Anonymous12-Nov-02 10:28 
GeneralRe: SendMessage Inside a UI thread to the Main App.. Is this bad? Pin
Dave Bryant12-Nov-02 10:34
Dave Bryant12-Nov-02 10:34 
GeneralRe: SendMessage Inside a UI thread to the Main App.. Is this bad? Pin
Anonymous13-Nov-02 4:05
Anonymous13-Nov-02 4:05 
GeneralRe: SendMessage Inside a UI thread to the Main App.. Is this bad? Pin
PJ Arends12-Nov-02 10:40
professionalPJ Arends12-Nov-02 10:40 
GeneralAbstract base classes in .dll Pin
Aaron Schaefer12-Nov-02 9:46
Aaron Schaefer12-Nov-02 9:46 
GeneralRe: Abstract base classes in .dll Pin
Joaquín M López Muñoz12-Nov-02 10:48
Joaquín M López Muñoz12-Nov-02 10:48 
GeneralRe: Abstract base classes in .dll Pin
Aaron Schaefer12-Nov-02 10:53
Aaron Schaefer12-Nov-02 10:53 
GeneralIE Icon RightClick Properties Menu.... Pin
JoeSox12-Nov-02 9:38
JoeSox12-Nov-02 9:38 
GeneralRe: IE Icon RightClick Properties Menu.... Pin
Chris Hambleton12-Nov-02 11:07
Chris Hambleton12-Nov-02 11:07 
GeneralRe: IE Icon RightClick Properties Menu.... Pin
JoeSox12-Nov-02 11:38
JoeSox12-Nov-02 11:38 
GeneralRe: IE Icon RightClick Properties Menu.... Pin
JoeSox12-Nov-02 12:17
JoeSox12-Nov-02 12:17 
GeneralTCP/IP Solutions... needed! Pin
Walote12-Nov-02 9:37
Walote12-Nov-02 9:37 
GeneralRe: TCP/IP Solutions... needed! Pin
Joaquín M López Muñoz12-Nov-02 10:59
Joaquín M López Muñoz12-Nov-02 10:59 
GeneralRe: TCP/IP Solutions... needed! Pin
Walote12-Nov-02 23:56
Walote12-Nov-02 23:56 
QuestionHow to Show Line Numbers in Visual C++ 6.0 Pin
Ehren12-Nov-02 9:19
Ehren12-Nov-02 9:19 
AnswerRe: How to Show Line Numbers in Visual C++ 6.0 Pin
Chris Hambleton12-Nov-02 11:10
Chris Hambleton12-Nov-02 11:10 
QuestionHow to add an icon to the tray where the clock is showed Pin
Anonymous12-Nov-02 8:27
Anonymous12-Nov-02 8:27 

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.