Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTabs with right close button (Firefox like) Pin
Moak26-Jun-06 4:00
Moak26-Jun-06 4:00 
AnswerRe: Tabs with right close button (Firefox like) Pin
Sarath C26-Jun-06 4:23
Sarath C26-Jun-06 4:23 
GeneralRe: Tabs with right close button (Firefox like) Pin
Moak27-Jun-06 0:26
Moak27-Jun-06 0:26 
QuestionHow to know if a pointer is valid? Pin
hatemtalbi26-Jun-06 3:43
hatemtalbi26-Jun-06 3:43 
QuestionRe: How to know if a pointer is valid? Pin
David Crow26-Jun-06 3:48
David Crow26-Jun-06 3:48 
AnswerRe: How to know if a pointer is valid? [modified] Pin
Stephen Hewitt26-Jun-06 16:53
Stephen Hewitt26-Jun-06 16:53 
GeneralRe: How to know if a pointer is valid? Pin
David Crow27-Jun-06 3:08
David Crow27-Jun-06 3:08 
AnswerRe: How to know if a pointer is valid? Pin
Viorel.26-Jun-06 3:52
Viorel.26-Jun-06 3:52 
In Windows you can try IsBadReadPtr, IsBadWritePtr and IsBadStringPtr.

In MFC you can try AfxIsValidAddress and AfxIsValidString.

In case of run-time library, you can try _CrtIsValidPointer, _CrtIsValidHeapPointer and _CrtIsMemoryBlock.
GeneralRe: How to know if a pointer is valid? Pin
hatemtalbi26-Jun-06 3:57
hatemtalbi26-Jun-06 3:57 
GeneralRe: How to know if a pointer is valid? [modified] Pin
Stephen Hewitt26-Jun-06 18:03
Stephen Hewitt26-Jun-06 18:03 
GeneralRe: How to know if a pointer is valid? Pin
David Crow27-Jun-06 3:05
David Crow27-Jun-06 3:05 
GeneralRe: How to know if a pointer is valid? Pin
Stephen Hewitt27-Jun-06 3:56
Stephen Hewitt27-Jun-06 3:56 
AnswerRe: How to know if a pointer is valid? Pin
Sarath C26-Jun-06 3:52
Sarath C26-Jun-06 3:52 
AnswerRe: How to know if a pointer is valid? Pin
Roland Pibinger26-Jun-06 9:33
Roland Pibinger26-Jun-06 9:33 
GeneralRe: How to know if a pointer is valid? Pin
Stephen Hewitt26-Jun-06 19:42
Stephen Hewitt26-Jun-06 19:42 
QuestionGet Motherboard sensors Pin
honae26-Jun-06 3:15
honae26-Jun-06 3:15 
QuestionRe: Get Motherboard sensors Pin
David Crow26-Jun-06 3:39
David Crow26-Jun-06 3:39 
AnswerRe: Get Motherboard sensors Pin
honae26-Jun-06 3:50
honae26-Jun-06 3:50 
QuestionRe: Get Motherboard sensors Pin
David Crow26-Jun-06 4:01
David Crow26-Jun-06 4:01 
AnswerRe: Get Motherboard sensors [modified] Pin
honae26-Jun-06 4:17
honae26-Jun-06 4:17 
QuestionRe: Get Motherboard sensors Pin
David Crow26-Jun-06 4:40
David Crow26-Jun-06 4:40 
AnswerRe: Get Motherboard sensors [modified] Pin
honae26-Jun-06 4:49
honae26-Jun-06 4:49 
GeneralRe: Get Motherboard sensors Pin
David Crow26-Jun-06 5:03
David Crow26-Jun-06 5:03 
QuestionAppend text to a rich edit w/o using ReplaceSel Pin
KellyR26-Jun-06 3:12
KellyR26-Jun-06 3:12 
AnswerRe: Append text to a rich edit w/o using ReplaceSel Pin
Justin Tay26-Jun-06 3:33
Justin Tay26-Jun-06 3:33 

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.