Click here to Skip to main content
16,011,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: when do we need to define INC_OLE2? Pin
George_George13-Oct-07 4:03
George_George13-Oct-07 4:03 
Question16 color to black and white Pin
sanjutvm11-Oct-07 4:01
sanjutvm11-Oct-07 4:01 
AnswerRe: 16 color to black and white Pin
ThatsAlok11-Oct-07 4:10
ThatsAlok11-Oct-07 4:10 
AnswerRe: 16 color to black and white Pin
Mark Salsbery11-Oct-07 12:33
Mark Salsbery11-Oct-07 12:33 
QuestionMFC + Windows Embedded Xp [modified] Pin
bankai12311-Oct-07 3:42
bankai12311-Oct-07 3:42 
AnswerRe: MFC + Windows Embedded Xp Pin
JudyL_MD11-Oct-07 4:57
JudyL_MD11-Oct-07 4:57 
GeneralRe: MFC + Windows Embedded Xp Pin
bankai12311-Oct-07 5:00
bankai12311-Oct-07 5:00 
QuestionAny alternative for IsBadReadPtr / IsBadWritePtr Pin
sw@thi11-Oct-07 3:03
sw@thi11-Oct-07 3:03 
i need to check whether a pointer is valid or not ie., whether its NULL or Bad Ptr.

I've searched the net and found these functions IsBadReadPtr or IsBadWritePtr, but they also say that its not good practice to use these functions.

Can anyone please tell me are there any alternatives for these function? if there are no alternatives then what are the problems that i might face if i use these function??

Thanks for any help.


AnswerRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
Cedric Moonen11-Oct-07 3:25
Cedric Moonen11-Oct-07 3:25 
GeneralRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
sw@thi11-Oct-07 20:12
sw@thi11-Oct-07 20:12 
GeneralRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
JudyL_MD12-Oct-07 3:19
JudyL_MD12-Oct-07 3:19 
AnswerRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
Matthew Faithfull11-Oct-07 3:32
Matthew Faithfull11-Oct-07 3:32 
GeneralRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
Stephen Hewitt11-Oct-07 17:58
Stephen Hewitt11-Oct-07 17:58 
GeneralRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
Matthew Faithfull11-Oct-07 23:22
Matthew Faithfull11-Oct-07 23:22 
GeneralRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
Stephen Hewitt14-Oct-07 14:55
Stephen Hewitt14-Oct-07 14:55 
GeneralRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
sw@thi11-Oct-07 20:22
sw@thi11-Oct-07 20:22 
QuestionRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
David Crow11-Oct-07 3:54
David Crow11-Oct-07 3:54 
AnswerRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
led mike11-Oct-07 4:12
led mike11-Oct-07 4:12 
QuestionRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
ThatsAlok11-Oct-07 4:08
ThatsAlok11-Oct-07 4:08 
AnswerRe: Any alternative for IsBadReadPtr / IsBadWritePtr Pin
Stephen Hewitt11-Oct-07 18:00
Stephen Hewitt11-Oct-07 18:00 
QuestionHow to access properties of ActiveX control in atl Pin
Rajesh_Yadav_8011-Oct-07 2:40
Rajesh_Yadav_8011-Oct-07 2:40 
GeneralRe: How to access properties of ActiveX control in atl Pin
Matthew Faithfull11-Oct-07 2:52
Matthew Faithfull11-Oct-07 2:52 
QuestionHow to send hex data to TCP socket using Winsock Pin
alofang11-Oct-07 2:35
alofang11-Oct-07 2:35 
AnswerRe: How to send hex data to TCP socket using Winsock Pin
ThatsAlok11-Oct-07 2:55
ThatsAlok11-Oct-07 2:55 
GeneralRe: How to send hex data to TCP socket using Winsock Pin
alofang11-Oct-07 4:13
alofang11-Oct-07 4:13 

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.