Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which trackbar fired the event? Pin
Michael Dunn22-Oct-01 15:56
sitebuilderMichael Dunn22-Oct-01 15:56 
GeneralRe: Which trackbar fired the event? Pin
clintsinger22-Oct-01 17:02
clintsinger22-Oct-01 17:02 
GeneralRe: Which trackbar fired the event? Pin
Christian Graus22-Oct-01 18:19
protectorChristian Graus22-Oct-01 18:19 
GeneralRe: Which trackbar fired the event? Pin
clintsinger24-Oct-01 6:21
clintsinger24-Oct-01 6:21 
GeneralRe: Which trackbar fired the event? Pin
Christian Graus24-Oct-01 11:22
protectorChristian Graus24-Oct-01 11:22 
Generalundeclared identifier Pin
Peter Liddle22-Oct-01 12:21
Peter Liddle22-Oct-01 12:21 
GeneralRe: undeclared identifier Pin
Christian Graus22-Oct-01 12:43
protectorChristian Graus22-Oct-01 12:43 
GeneralSynchronization objects Pin
Not Active22-Oct-01 11:03
mentorNot Active22-Oct-01 11:03 
A co-worker and I were having a discussion about what sync object to use for a particular case. The senerio is as follows:

Read an item from a list
Write data to a device, using a sperate thread
Wait for write to complete
Repeat until list is complete

He designed the above to use a semaphore where I pointed out that an event would be more appropriate in this case. His arguement was that there was no difference in the how the two were created, used, etc. He could not seem to handle the statement "why have two objects to do the same thing".

Could anyone comment on the overhead, resource usage, etc. of the two objects.
GeneralFlicker-free drawing question Pin
Chen Venkataraman22-Oct-01 10:00
Chen Venkataraman22-Oct-01 10:00 
GeneralRe: Flicker-free drawing question Pin
Tomasz Sowinski22-Oct-01 10:19
Tomasz Sowinski22-Oct-01 10:19 
GeneralRe: Flicker-free drawing question Pin
Chen Venkataraman22-Oct-01 11:10
Chen Venkataraman22-Oct-01 11:10 
GeneralRe: Flicker-free drawing question Pin
Tomasz Sowinski22-Oct-01 11:27
Tomasz Sowinski22-Oct-01 11:27 
GeneralRe: Flicker-free drawing question Pin
Christian Graus22-Oct-01 18:29
protectorChristian Graus22-Oct-01 18:29 
GeneralWriting a Client/Server in Visual C++ Pin
22-Oct-01 9:10
suss22-Oct-01 9:10 
GeneralRe: Writing a Client/Server in Visual C++ Pin
Matt Newman22-Oct-01 13:21
Matt Newman22-Oct-01 13:21 
GeneralHiding the main frame in mdi Pin
jangel22-Oct-01 8:51
jangel22-Oct-01 8:51 
GeneralRe: Hiding the main frame in mdi Pin
Tomasz Sowinski22-Oct-01 8:55
Tomasz Sowinski22-Oct-01 8:55 
GeneralRe: Hiding the main frame in mdi Pin
jangel22-Oct-01 10:04
jangel22-Oct-01 10:04 
GeneralRe: Hiding the main frame in mdi Pin
Tomasz Sowinski22-Oct-01 10:24
Tomasz Sowinski22-Oct-01 10:24 
GeneralRe: Hiding the main frame in mdi Pin
jangel22-Oct-01 12:37
jangel22-Oct-01 12:37 
GeneralRe: Hiding the main frame in mdi Pin
Christian Graus22-Oct-01 18:36
protectorChristian Graus22-Oct-01 18:36 
GeneralADO question ... Pin
Hadi Rezaee22-Oct-01 8:25
Hadi Rezaee22-Oct-01 8:25 
GeneralRe: ADO question ... Pin
Carlos Antollini22-Oct-01 8:47
Carlos Antollini22-Oct-01 8:47 
GeneralRe: ADO question ... Pin
Hadi Rezaee22-Oct-01 9:06
Hadi Rezaee22-Oct-01 9:06 
Generalm_pCtrlSite in Derived CButton object Pin
Derek Lakin22-Oct-01 7:03
Derek Lakin22-Oct-01 7: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.