Mailing Lists: Apple Mailing Lists

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

fopen



 

I have been running some code, via my xcode project for some time now. The other day I had problems with my user account, another story, so I created a new admin user account. I put my xcode project into my new users/me folder and opened the xcode from the new location.

 

My problem is I have an FILE *fp = fopen(m_szfilepathandname, “wb”) line that was working before. Now it fails, fp = NULL, and the folder is not created, on my hard drive, as it was before. It is like I do not have permissions to create this folder, but before I did.

 

Is there some way to force fopen to work, because I need to work on what every machine I install this app on. Maybe there is another way I should be creating this new folder/path?

 

Any ideas or suggestions would greatly be appreciated.

 

Carl

 



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.