Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Media Player Mini-Mode Pin
Antony M Kancidrowski28-Sep-04 2:04
Antony M Kancidrowski28-Sep-04 2:04 
GeneralRe: Media Player Mini-Mode Pin
Dave Moran28-Sep-04 13:50
Dave Moran28-Sep-04 13:50 
GeneralRe: Media Player Mini-Mode Pin
Antony M Kancidrowski29-Sep-04 0:38
Antony M Kancidrowski29-Sep-04 0:38 
QuestionHow Can I making database project? Pin
Majid Shahpouri28-Sep-04 1:03
Majid Shahpouri28-Sep-04 1:03 
AnswerRe: How Can I making database project? Pin
GermanGeorge28-Sep-04 4:07
GermanGeorge28-Sep-04 4:07 
Generalwhile loop in threads Pin
ledallam28-Sep-04 0:40
ledallam28-Sep-04 0:40 
GeneralRe: while loop in threads Pin
Manfred Staiger28-Sep-04 1:06
Manfred Staiger28-Sep-04 1:06 
GeneralRe: while loop in threads Pin
Aamir Butt28-Sep-04 1:25
Aamir Butt28-Sep-04 1:25 
Had I been at your place, I would have used a different approach and that is to use SendMessage.

Write a class of your own, and write a message handler for your own defined message. In that message handler write the code which you have written above in thread in case of MonitorEvent being successful. From the class where Monitor event is fired, use SendMessage, this will send the Message to the other class and MFC will handle the rest.

I hope that is a better and more efficient solution.

Regards,





Imagine that you are creating a fabric of human destiny with the object of making men happy in the end, giving them peace and rest at last, but that it was essential and inevitable to torture to death only one tiny creature..and to found that edifice on its unavenged tears, would you consent to be the architect on those conditions? Tell me, and tell me the truth!

-Fyodor Dostoevsky, The Brothers Karamazov

GeneralRe: while loop in threads Pin
Blake Miller28-Sep-04 4:30
Blake Miller28-Sep-04 4:30 
GeneralRe: while loop in threads Pin
ledallam28-Sep-04 18:10
ledallam28-Sep-04 18:10 
GeneralRe: while loop in threads Pin
David Crow28-Sep-04 4:05
David Crow28-Sep-04 4:05 
GeneralRe: while loop in threads Pin
Andrzej Markowski28-Sep-04 8:10
Andrzej Markowski28-Sep-04 8:10 
GeneralRe: while loop in threads Pin
ledallam28-Sep-04 18:11
ledallam28-Sep-04 18:11 
GeneralRe: while loop in threads Pin
Andrzej Markowski28-Sep-04 19:38
Andrzej Markowski28-Sep-04 19:38 
GeneralRe: while loop in threads Pin
ledallam28-Sep-04 19:48
ledallam28-Sep-04 19:48 
GeneralRe: while loop in threads Pin
Andrzej Markowski28-Sep-04 20:09
Andrzej Markowski28-Sep-04 20:09 
GeneralRe: while loop in threads Pin
ledallam28-Sep-04 20:30
ledallam28-Sep-04 20:30 
GeneralRe: while loop in threads Pin
Andrzej Markowski28-Sep-04 20:50
Andrzej Markowski28-Sep-04 20:50 
GeneralRe: while loop in threads Pin
ledallam28-Sep-04 21:17
ledallam28-Sep-04 21:17 
GeneralRe: while loop in threads Pin
Andrzej Markowski28-Sep-04 21:32
Andrzej Markowski28-Sep-04 21:32 
GeneralRe: while loop in threads Pin
ledallam28-Sep-04 21:39
ledallam28-Sep-04 21:39 
GeneralRe: while loop in threads Pin
Blake Miller29-Sep-04 4:22
Blake Miller29-Sep-04 4:22 
GeneralCalling vb .net dll in a C++ console app Pin
Tumisang28-Sep-04 0:26
Tumisang28-Sep-04 0:26 
GeneralRe: Calling vb .net dll in a C++ console app Pin
BAIJUMAX28-Sep-04 1:45
professionalBAIJUMAX28-Sep-04 1:45 
GeneralCFile::Read() : Giving zero bytes read Pin
Ardhendu_diva28-Sep-04 0:09
Ardhendu_diva28-Sep-04 0:09 

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.