Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxIsValidString does not seem to work. Pin
David Crow15-Aug-05 6:30
David Crow15-Aug-05 6:30 
GeneralRe: AfxIsValidString does not seem to work. Pin
Rage15-Aug-05 7:12
professionalRage15-Aug-05 7:12 
GeneralRe: AfxIsValidString does not seem to work. Pin
David Crow15-Aug-05 7:32
David Crow15-Aug-05 7:32 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 7:51
mcgahanfl15-Aug-05 7:51 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 7:53
mcgahanfl15-Aug-05 7:53 
GeneralRe: AfxIsValidString does not seem to work. Pin
Blake Miller15-Aug-05 10:14
Blake Miller15-Aug-05 10:14 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 10:24
mcgahanfl15-Aug-05 10:24 
GeneralRe: AfxIsValidString does not seem to work. Pin
Tim Smith15-Aug-05 13:40
Tim Smith15-Aug-05 13:40 
AfxIsValidString can only verify that the string is readable. If you happen to pass in garbage that contains no \0 character, then it will return an error. However, in your case, even if there were no \0 characters in the first 200 bytes, the memory past the end of the string is probably readable and thus will not generate an error.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl16-Aug-05 3:02
mcgahanfl16-Aug-05 3:02 
GeneralMake control part of Window Pin
tommazzo15-Aug-05 5:19
tommazzo15-Aug-05 5:19 
GeneralRe: Make control part of Window Pin
Prakash Nadar15-Aug-05 6:54
Prakash Nadar15-Aug-05 6:54 
GeneralRe: Make control part of Window Pin
tommazzo15-Aug-05 7:40
tommazzo15-Aug-05 7:40 
GeneralMultithreading Pin
Ali Tavakol15-Aug-05 5:04
Ali Tavakol15-Aug-05 5:04 
GeneralRe: Multithreading Pin
Bob Stanneveld15-Aug-05 5:57
Bob Stanneveld15-Aug-05 5:57 
GeneralCSocket locks up Pin
Roger Garrett15-Aug-05 4:04
Roger Garrett15-Aug-05 4:04 
GeneralVC++ .NET code no longer works, originally compiled on VS2002 Pin
NuclearNed15-Aug-05 3:49
sussNuclearNed15-Aug-05 3:49 
GeneralGlobal objects in MFC Pin
TOlivier15-Aug-05 3:17
TOlivier15-Aug-05 3:17 
GeneralRe: Global objects in MFC Pin
M.Mehrdad.M15-Aug-05 3:46
M.Mehrdad.M15-Aug-05 3:46 
GeneralRe: Global objects in MFC Pin
TOlivier15-Aug-05 4:15
TOlivier15-Aug-05 4:15 
GeneralRe: Global objects in MFC Pin
Achim Klein15-Aug-05 15:01
Achim Klein15-Aug-05 15:01 
GeneralRe: Global objects in MFC Pin
TOlivier16-Aug-05 4:24
TOlivier16-Aug-05 4:24 
GeneralRe: Global objects in MFC Pin
Stephan Pilz15-Aug-05 3:51
Stephan Pilz15-Aug-05 3:51 
GeneralRe: Global objects in MFC Pin
TOlivier15-Aug-05 4:17
TOlivier15-Aug-05 4:17 
GeneralRe: Global objects in MFC Pin
Achim Klein15-Aug-05 4:45
Achim Klein15-Aug-05 4:45 
GeneralRe: Global objects in MFC Pin
TOlivier15-Aug-05 11:15
TOlivier15-Aug-05 11:15 

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.