If you were thinking about using the above API functions, you would do well to read first the MSDN (not WIN32.HLP) entry for isbadreadptr taking particular note of the "user content" - also http://blogs.msdn.com/larryosterman/...18/134471.aspx. The way I read these sources is "DON'T!".
It is not as simple as "oh, my application is a single thread, so no problem"!
Not for nothing have these functions been described as
Not for nothing does MSDN say
don't take the Win32 Programmers Reference word for it!!*
Actually I haven't checked that my WIn32Programmer Reference is bang up to date on these functions - anyone?
It is not as simple as "oh, my application is a single thread, so no problem"!
Not for nothing have these functions been described as
“CrashMyApplication” and “CorruptMemoryAndCrashMySystem"
"Important This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use."
Actually I haven't checked that my WIn32Programmer Reference is bang up to date on these functions - anyone?
Comment