satyam90 macrumors regular Original poster Nov 25, 2007 #1 Hi, I am using Cocoa with Obj-C. Can any one tell me how to get programatically the path of the executable I am running. Regards, Satya.
Hi, I am using Cocoa with Obj-C. Can any one tell me how to get programatically the path of the executable I am running. Regards, Satya.
satyam90 macrumors regular Original poster Nov 26, 2007 #3 kainjow said: [[NSBundle mainBundle] bundlePath] Click to expand... Before posting the thread, I tried the same, the application is crashing. I doubted whether I am using correct method or not and posted the thread.
kainjow said: [[NSBundle mainBundle] bundlePath] Click to expand... Before posting the thread, I tried the same, the application is crashing. I doubted whether I am using correct method or not and posted the thread.