Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fopen() works only in debugger




On Mar 3, 2007, at 2:16 PM, Timothy Larkin wrote:

I am working on a Foundation tool which calls fopen() from a class method. It runs correctly under the debugger.

Sounds like your code depends in some way on the current working directory. Also, why are you using fopen() instead of - dataWithContentsOfURL: or -stringWithContentsOfURL:?


-jcr


"The problem with trying to child-proof the world, is that it makes people neglect the far more important task of world-proofing the child." -- Hugh Daniel


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >fopen() works only in debugger (From: Timothy Larkin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.