Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: wprintf Question? Pin
Waldermort5-Sep-06 9:21
Waldermort5-Sep-06 9:21 
GeneralRe: wprintf Question? Pin
Waldermort5-Sep-06 9:24
Waldermort5-Sep-06 9:24 
AnswerRe: wprintf Question? Pin
Hamid_RT6-Sep-06 8:31
Hamid_RT6-Sep-06 8:31 
QuestionUser Interface Thread Problem ! Pin
M.Mehrdad.M5-Sep-06 6:43
M.Mehrdad.M5-Sep-06 6:43 
AnswerRe: User Interface Thread Problem ! Pin
Jun Du5-Sep-06 7:01
Jun Du5-Sep-06 7:01 
QuestionRe: User Interface Thread Problem ! Pin
David Crow5-Sep-06 7:15
David Crow5-Sep-06 7:15 
AnswerRe: User Interface Thread Problem ! Pin
M.Mehrdad.M6-Sep-06 1:48
M.Mehrdad.M6-Sep-06 1:48 
AnswerRe: User Interface Thread Problem ! Pin
Michael Dunn5-Sep-06 12:24
sitebuilderMichael Dunn5-Sep-06 12:24 
The main thread needs to wait until the second thread's message queue is ready. The steps go like this:
1. Main thread creates an event object that the second thread will be able to access
2. Main thread creates the second thread
3. Main thread waits on the event, so it will block
4. Second thread calls PeekMessage() during its initialization to create a message queue for itself
5. Second thread signals the event
6. Main thread wakes up and now the second thread's message queue is available to receive messages


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

GeneralRe: User Interface Thread Problem ! Pin
M.Mehrdad.M6-Sep-06 1:53
M.Mehrdad.M6-Sep-06 1:53 
GeneralRe: User Interface Thread Problem ! Pin
Blake Miller6-Sep-06 11:39
Blake Miller6-Sep-06 11:39 
QuestionIs it possible to convert Visual C++ program with GUI into COM DLL or ActiveX ? Pin
peysock5-Sep-06 6:37
peysock5-Sep-06 6:37 
QuestionHow to write a C++ program to find out these??? Pin
sinbear5-Sep-06 6:35
sinbear5-Sep-06 6:35 
AnswerRe: How to write a C++ program to find out these??? Pin
sinbear5-Sep-06 6:44
sinbear5-Sep-06 6:44 
AnswerRe: How to write a C++ program to find out these??? Pin
Maximilien5-Sep-06 6:54
Maximilien5-Sep-06 6:54 
GeneralRe: How to write a C++ program to find out these??? Pin
Ahmed Ismail Mohamed5-Sep-06 9:11
Ahmed Ismail Mohamed5-Sep-06 9:11 
AnswerRe: How to write a C++ program to find out these??? Pin
RomTibi5-Sep-06 9:43
RomTibi5-Sep-06 9:43 
AnswerRe: How to write a C++ program to find out these??? Pin
RomTibi8-Sep-06 10:18
RomTibi8-Sep-06 10:18 
QuestionProblem getting pointer of function in class Pin
Toubou5-Sep-06 6:18
Toubou5-Sep-06 6:18 
AnswerRe: Problem getting pointer of function in class Pin
toxcct5-Sep-06 6:28
toxcct5-Sep-06 6:28 
GeneralRe: Problem getting pointer of function in class Pin
Toubou5-Sep-06 7:05
Toubou5-Sep-06 7:05 
GeneralRe: Problem getting pointer of function in class Pin
toxcct5-Sep-06 7:09
toxcct5-Sep-06 7:09 
AnswerRe: Problem getting pointer of function in class Pin
Jun Du5-Sep-06 7:19
Jun Du5-Sep-06 7:19 
GeneralRe: Problem getting pointer of function in class Pin
led mike5-Sep-06 7:25
led mike5-Sep-06 7:25 
GeneralRe: Problem getting pointer of function in class Pin
toxcct5-Sep-06 7:28
toxcct5-Sep-06 7:28 
GeneralRe: Problem getting pointer of function in class Pin
led mike5-Sep-06 7:32
led mike5-Sep-06 7:32 

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.