currentDirectoryPath returns different paths
currentDirectoryPath returns different paths
- Subject: currentDirectoryPath returns different paths
- From: <email@hidden>
- Date: Thu, 27 Jul 2006 16:20:50 +0530
- Thread-topic: currentDirectoryPath returns different paths
Hi All,
I am newbie developing a Cocoa Application with ObjC++ using X Code
2.3.
I use the method currentDirectoryPath to get the current location of my
app.
When I run the application from X Code itself i.e a build and go the
currentDirectoryPath returns the correct path say for e.g
/Users/amrit//MyApplication/build/Debug
For the same application when i go to the directory
/Users/amrit//MyApplication/build/Debug and click on the application
icon
the method currentDirectoryPath returns " / " .The same is the case if
I try to launch the application from any other directory.
Why is it so?
How do I get the actual current working directory?
Looking for some guidance.
Thanks & Regards,
Amrit.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden