• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IsBadCodePtr in Cocoa or Unix?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: IsBadCodePtr in Cocoa or Unix?
      • From: Douglas Davidson <email@hidden>
References: 
 >IsBadCodePtr in Cocoa or Unix? (From: Eric Gorr <email@hidden>)

  • Prev by Date: IsBadCodePtr in Cocoa or Unix?
  • Next by Date: Re: IsBadCodePtr in Cocoa or Unix?
  • Previous by thread: IsBadCodePtr in Cocoa or Unix?
  • Next by thread: Re: IsBadCodePtr in Cocoa or Unix?
  • Index(es):
    • Date
    • Thread