Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Force window on top Pin
David Crow6-Dec-05 7:01
David Crow6-Dec-05 7:01 
AnswerRe: Force window on top Pin
Shay Harel6-Dec-05 7:57
Shay Harel6-Dec-05 7:57 
GeneralRe: Force window on top Pin
David Crow6-Dec-05 8:17
David Crow6-Dec-05 8:17 
GeneralRe: Force window on top Pin
Shay Harel6-Dec-05 8:32
Shay Harel6-Dec-05 8:32 
GeneralRe: Force window on top Pin
Blake Miller6-Dec-05 9:43
Blake Miller6-Dec-05 9:43 
QuestionIsBadReadPtr vs IsBadStringPtr Pin
Chintoo7236-Dec-05 6:11
Chintoo7236-Dec-05 6:11 
AnswerRe: IsBadReadPtr vs IsBadStringPtr Pin
David Crow6-Dec-05 7:03
David Crow6-Dec-05 7:03 
AnswerRe: IsBadReadPtr vs IsBadStringPtr Pin
Jörgen Sigvardsson6-Dec-05 12:59
Jörgen Sigvardsson6-Dec-05 12:59 
Be cautious when you use these functions. Especially so the IsBadWritePtr, as it works by "trying" to write to the provided memory area inside a structured exception handling block. If it fails with an exception, it makes the function return false. If it succeeds, it writes back the contents which was in the buffer before the write. Clearly, this introduces race conditions in a multithreaded environment.

There are also other sinister possible side effects. Unfortunately I can't remember what those were, but if my memory serves me right, Raymond Chen[^] has an article about it somewhere.

--
Pictures[^] from my Japan trip.
QuestionMS Access locking Problem Pin
zinc_z6-Dec-05 5:05
zinc_z6-Dec-05 5:05 
AnswerRe: MS Access locking Problem Pin
JonEngle6-Dec-05 5:56
JonEngle6-Dec-05 5:56 
GeneralRe: MS Access locking Problem Pin
zinc_z7-Dec-05 5:28
zinc_z7-Dec-05 5:28 
Questionhow to work out this problem Pin
chen10006-Dec-05 5:04
chen10006-Dec-05 5:04 
AnswerRe: how to work out this problem Pin
toxcct6-Dec-05 8:48
toxcct6-Dec-05 8:48 
GeneralRe: how to work out this problem Pin
Wes Aday6-Dec-05 9:06
professionalWes Aday6-Dec-05 9:06 
GeneralRe: how to work out this problem Pin
chen10006-Dec-05 15:46
chen10006-Dec-05 15:46 
GeneralRe: how to work out this problem Pin
toxcct6-Dec-05 21:13
toxcct6-Dec-05 21:13 
AnswerRe: how to work out this problem Pin
toxcct6-Dec-05 23:00
toxcct6-Dec-05 23:00 
QuestionCListCtrl -> Row Height & Bold font or new font Pin
sdancer756-Dec-05 4:59
sdancer756-Dec-05 4:59 
Questionpass a CString to a TCHAR myVar[] Pin
si_696-Dec-05 4:48
si_696-Dec-05 4:48 
AnswerRe: pass a CString to a TCHAR myVar[] Pin
David Crow6-Dec-05 4:53
David Crow6-Dec-05 4:53 
GeneralRe: pass a CString to a TCHAR myVar[] Pin
toxcct6-Dec-05 6:04
toxcct6-Dec-05 6:04 
GeneralRe: pass a CString to a TCHAR myVar[] Pin
Maximilien6-Dec-05 6:28
Maximilien6-Dec-05 6:28 
GeneralRe: pass a CString to a TCHAR myVar[] Pin
David Crow6-Dec-05 7:00
David Crow6-Dec-05 7:00 
GeneralRe: pass a CString to a TCHAR myVar[] Pin
si_696-Dec-05 22:32
si_696-Dec-05 22:32 
AnswerRe: pass a CString to a TCHAR myVar[] Pin
Nish Nishant6-Dec-05 5:02
sitebuilderNish Nishant6-Dec-05 5:02 

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.