I have some Visual C++ code that receives a pointer to a buffer with data that needs to be processed by my code and the length of that buffer. Due to a bug outside my contro
Why can't you call the api
AfxIsValidAddress((p), sizeof(type), FALSE));