On Jul 14, 2015, at 10:44 AM, Jens Alfke <j...@mooseyard.com> wrote:
> 
> I don’t know, I’m not a Windows programmer. It would help if you told us what 
> that function does.

It appears to be a placebo for debugging memory problems:

<http://ofekshilon.com/2011/01/31/afxisvalidaddress-et-al-dont-work-as-advertised/>

TL;DR, here you go:

BOOL AfxIsValidAddress(const void *p, size_t nBytes) {
  return p != NULL;
}

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice






_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to