Re: IsBadCodePtr in Cocoa or Unix?
Re: IsBadCodePtr in Cocoa or Unix?
- Subject: Re: IsBadCodePtr in Cocoa or Unix?
- From: Colin Cornaby <email@hidden>
- Date: Thu, 16 Apr 2009 11:21:04 -0700
I would suggest reading Microsoft's own notes on that function, which
might tell you why it's a bad idea to use that function even under
Windows, and give you a clue on how to do something similar on other
platforms. You should probably look at catching a SIGSEGV, which
should be possible, and is still a ridiculously bad idea (if the
Microsoft warnings weren't enough).
Also, just a note, the function is deprecated on Windows, and if it's
deprecated on Windows, that's probably a good reason not to use it or
anything similar. :)
On Apr 16, 2009, at 11:09 AM, Eric Gorr wrote:
I was wondering if anyone knows of a Cocoa or Unix based equivalent
for this window function...?
http://msdn.microsoft.com/en-us/library/aa366712(VS.85).aspx
Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden