On 10/01/2010, at 1:12 PM, Dave Keck wrote:

> > OK, seems to be that way. So how do I do that from within my app? I tried 
> > setenv("NSZombieEnabled", "YES", 1 ) but that didn't seem to work.
> 
> Proof of concept, needs to be cleaned up. Appears to work as expected, though:


Thanks Dave, that's just what I need. I changed it slightly to use [[[NSBundle 
mainBundle] executablePath] UTF8String] because the code is actually inside a 
sub-framework and _NSGetExecutablePath appears not to be available. Otherwise 
no problems!

--Graham


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to