Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: In MFC using a MS Access Database will NOT allow more Tahn 255 Chars even with setting RFX_Text to 1024 length Pin
David Crow15-Dec-09 3:04
David Crow15-Dec-09 3:04 
GeneralRe: In MFC using a MS Access Database will NOT allow more Tahn 255 Chars even with setting RFX_Text to 1024 length Pin
Larry Mills Sr15-Dec-09 14:27
Larry Mills Sr15-Dec-09 14:27 
GeneralRe: In MFC using a MS Access Database will NOT allow more Tahn 255 Chars even with setting RFX_Text to 1024 length Pin
David Crow16-Dec-09 3:40
David Crow16-Dec-09 3:40 
QuestionCopying files from an archive Pin
Code-o-mat14-Dec-09 12:02
Code-o-mat14-Dec-09 12:02 
QuestionRe: Copying files from an archive Pin
David Crow15-Dec-09 3:10
David Crow15-Dec-09 3:10 
AnswerRe: Copying files from an archive Pin
Code-o-mat15-Dec-09 3:20
Code-o-mat15-Dec-09 3:20 
GeneralA solution Pin
Code-o-mat15-Dec-09 10:55
Code-o-mat15-Dec-09 10:55 
Questionproblem with using MUTEX events Pin
Alan Kurlansky14-Dec-09 10:43
Alan Kurlansky14-Dec-09 10:43 
In my VS c++ console app i have the main thread processing input obtained by other secondary threads. The secondary threads use WaitForSingleObject to wait on either tcp input or wait to get the mutex back. These mutexes are used to control access to global buffers. Each secondary thread writes to a specific global buffer and when complete gives up the mutex. The main thread uses   WaitForMultipleObjects to determine which buffer to read from, then, when done, turns the mutex back over to the secondary thread.

Problem is if the apps start up when there's a lot of data(messages) backed up I initially get a lot of reported empty buffers in the beginning and later when I get buffers they (the corresponding mutex) seem to be ignored by the main thread.   This is what my log file shows. It may be that even my log file sequencing is questionable at this point.
Starting the processes like this would not be the norm but still it should all work even under these conditions.
Is it possible I have some kind of synchronization problem between the main and secondary threads? More details provided upon request.
Thanks
AnswerRe: problem with using MUTEX events Pin
Migounette14-Dec-09 11:53
Migounette14-Dec-09 11:53 
GeneralRe: problem with using MUTEX events Pin
Alan Kurlansky15-Dec-09 3:09
Alan Kurlansky15-Dec-09 3:09 
GeneralRe: problem with using MUTEX events Pin
Alan Kurlansky15-Dec-09 3:23
Alan Kurlansky15-Dec-09 3:23 
GeneralRe: problem with using MUTEX events Pin
Alan Kurlansky15-Dec-09 3:55
Alan Kurlansky15-Dec-09 3:55 
QuestionPlaying an AVI video from memory Pin
zzelephant14-Dec-09 10:10
zzelephant14-Dec-09 10:10 
Generalhi Pin
akhtar nasary14-Dec-09 8:45
akhtar nasary14-Dec-09 8:45 
GeneralRe: hi Pin
loyal ginger14-Dec-09 9:05
loyal ginger14-Dec-09 9:05 
QuestionRe: hi Pin
CPallini14-Dec-09 10:14
mveCPallini14-Dec-09 10:14 
QuestionSplit images into several regions. Pin
franckesh14-Dec-09 5:06
franckesh14-Dec-09 5:06 
AnswerRe: Split images into several regions. Pin
Tim Craig14-Dec-09 14:23
Tim Craig14-Dec-09 14:23 
QuestionHow to control LEDs using Parallel Port and Turbo C? Pin
--xtiAN_002--14-Dec-09 3:53
--xtiAN_002--14-Dec-09 3:53 
AnswerRe: How to control LEDs using Parallel Port and Turbo C? Pin
transoft14-Dec-09 4:35
transoft14-Dec-09 4:35 
QuestionRect Pin
kumar sanghvi14-Dec-09 2:29
kumar sanghvi14-Dec-09 2:29 
AnswerRe: Rect Pin
CPallini14-Dec-09 2:56
mveCPallini14-Dec-09 2:56 
GeneralRe: Rect Pin
kumar sanghvi14-Dec-09 17:39
kumar sanghvi14-Dec-09 17:39 
GeneralRe: Rect Pin
loyal ginger14-Dec-09 18:02
loyal ginger14-Dec-09 18:02 
GeneralRe: Rect Pin
kumar sanghvi14-Dec-09 18:37
kumar sanghvi14-Dec-09 18:37 

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.