Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert DRM protected audio files to unprotected audio files Pin
Michael Dunn5-Mar-07 12:22
sitebuilderMichael Dunn5-Mar-07 12:22 
Questionany method to compare times [modified] Pin
Malini Nair5-Mar-07 1:21
Malini Nair5-Mar-07 1:21 
AnswerRe: any method to compare times Pin
Nibu babu thomas5-Mar-07 1:48
Nibu babu thomas5-Mar-07 1:48 
AnswerRe: any method to compare times Pin
James R. Twine5-Mar-07 3:02
James R. Twine5-Mar-07 3:02 
QuestionAtomic operations in Win32 Pin
Mr.Brainley5-Mar-07 1:15
Mr.Brainley5-Mar-07 1:15 
AnswerRe: Atomic operations in Win32 Pin
Mr.Brainley5-Mar-07 1:28
Mr.Brainley5-Mar-07 1:28 
AnswerRe: Atomic operations in Win32 Pin
Stephen Hewitt5-Mar-07 1:30
Stephen Hewitt5-Mar-07 1:30 
GeneralRe: Atomic operations in Win32 Pin
Mr.Brainley5-Mar-07 6:12
Mr.Brainley5-Mar-07 6:12 
I'm writing a procedure where two values, wich always make up a pair, can be changed from one thread, but read from many. I only want to make shure that a read-operation always returns a valid pair (writing is actually limited by a CRITICAL_SECTION). So i use a checksum. The thread reads the variables and then checks the sum against a checksum. If one of the values got changed somewhere in between, the checksum will not match and it will try again. This works, since simple read/write operations on 32-bit Integers are atomic on 32-bit systems. I chose this way because it is much faster that using a lock mechanism, since write operation happen a lot less often (> factor 20) than write-operations.
QuestionRe: Atomic operations in Win32 Pin
Mark Salsbery5-Mar-07 6:41
Mark Salsbery5-Mar-07 6:41 
AnswerRe: Atomic operations in Win32 Pin
Mr.Brainley5-Mar-07 6:59
Mr.Brainley5-Mar-07 6:59 
GeneralRe: Atomic operations in Win32 Pin
James R. Twine5-Mar-07 8:17
James R. Twine5-Mar-07 8:17 
GeneralRe: Atomic operations in Win32 Pin
Mark Salsbery5-Mar-07 10:16
Mark Salsbery5-Mar-07 10:16 
GeneralRe: Atomic operations in Win32 Pin
Stephen Hewitt5-Mar-07 11:37
Stephen Hewitt5-Mar-07 11:37 
Questionaccessing registry using vc++ Pin
siddhesh13835-Mar-07 1:14
siddhesh13835-Mar-07 1:14 
AnswerRe: accessing registry using vc++ Pin
Rajesh R Subramanian5-Mar-07 1:15
professionalRajesh R Subramanian5-Mar-07 1:15 
AnswerRe: accessing registry using vc++ Pin
Joan M5-Mar-07 1:36
professionalJoan M5-Mar-07 1:36 
GeneralRe: accessing registry using vc++ Pin
Michael Dunn5-Mar-07 12:39
sitebuilderMichael Dunn5-Mar-07 12:39 
GeneralRe: accessing registry using vc++ Pin
Joan M5-Mar-07 19:43
professionalJoan M5-Mar-07 19:43 
AnswerRe: accessing registry using vc++ Pin
Hamid_RT5-Mar-07 5:51
Hamid_RT5-Mar-07 5:51 
Questionadding registry hives in combo box Pin
siddhesh13835-Mar-07 1:12
siddhesh13835-Mar-07 1:12 
AnswerRe: adding registry hives in combo box Pin
Hamid_RT5-Mar-07 5:51
Hamid_RT5-Mar-07 5:51 
QuestionHiding Contorl's Scoll Bar Pin
Ali Beirami5-Mar-07 1:07
Ali Beirami5-Mar-07 1:07 
AnswerRe: Hiding Contorl's Scoll Bar Pin
prasad_som5-Mar-07 1:32
prasad_som5-Mar-07 1:32 
GeneralRe: Hiding Contorl's Scoll Bar Pin
Ali Beirami5-Mar-07 3:42
Ali Beirami5-Mar-07 3:42 
AnswerRe: Hiding Contorl's Scoll Bar Pin
prasad_som5-Mar-07 3:46
prasad_som5-Mar-07 3:46 

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.