Re: How to change name and location of core dump files

2010-08-27 Thread Parimal Das
Thanks a lot Mark. I will try this and post the code :) -Parimal Das On Thu, Aug 26, 2010 at 10:27 PM, Mark Ritchie mark.ritc...@mac.com wrote: Hey! On 26/Aug/2010, at 7:29 AM, Parimal Das wrote: How i can change this core name to a more readable one, say core.myApp. Also can i

How to change name and location of core dump files

2010-08-26 Thread Parimal Das
core from my app. What can we do here? Or i am missing some very obvious point ? Thanks in Advance -Parimal Das ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Problem with setting dylib paths to ship them in my app bundle

2010-04-16 Thread Parimal Das
library is only creating dylibs, no static libs And i am more comfortable with XCode then CMake. I also tried setting XCode options to get dylibs from @executable_path but it didnt work. Or i should load my dylibs through code? Please suggest. I am clueless here. Advance Thanks :) -Parimal Das

How to find that my app is running under same security session in fast user switch

2010-01-04 Thread Parimal Das
is running and from where it is getting served are running in the same security session Please correct my understanding. I am confused with global and per-user window-server. -- -- Warm Regards, Parimal Das ___ Cocoa-dev mailing list (Cocoa-dev

[ myWorkSpace openURL: myurl ] is leaking. Why??

2009-12-10 Thread Parimal Das
0x 0x 0x 0x 0x I must be missing something here. Can anyone point what is wrong here. Advanced thanks. -Parimal Das ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Unable to write in InfoPlist.strings file from cpp

2009-12-08 Thread Parimal Das
is happening here?? Advance thanks. -Parimal Das ___ 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

Re: Unable to write in InfoPlist.strings file from cpp

2009-12-08 Thread Parimal Das
Thanks a lot Greg. Interpret as UTF8 solved the problem. -Parimal Das On Tue, Dec 8, 2009 at 8:18 PM, Greg Parker gpar...@apple.com wrote: On Dec 8, 2009, at 5:25 AM, Parimal Das wrote: I am trying to write CFBundleGetInfoString into InfoPlist.strings from cpp code and It is writing

Re: Best approach to write an uninstaller for osx

2009-11-25 Thread Parimal Das
:30 AM, Parimal Das wrote: 4. This script copies DeleteAll.app to /private/tmp/ AND then runs DeleteAll.app from Temp location. Why do you need two different apps? Just have Uninstall.app delete itself when it finishes. do shell script sudo cp -R ' ourPath ' ' tempPath

Re: Best approach to write an uninstaller for osx

2009-11-24 Thread Parimal Das
Sluder -- -- Warm Regards, Parimal Das ___ 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

Re: Best approach to write an uninstaller for osx

2009-11-21 Thread Parimal Das
: That itune example is really scary man. On Sat, Nov 21, 2009 at 12:56 PM, Jens Alfke j...@mooseyard.com wrote: On Nov 20, 2009, at 11:03 PM, Parimal Das wrote: I want to write a uninstaller for my app. Are you sure it needs one? Most Mac apps don't have or need uninstallers. If you want

Re: Best approach to write an uninstaller for osx

2009-11-21 Thread Parimal Das
Thanks Jens Let me try the Applescript way. On Sun, Nov 22, 2009 at 6:20 AM, Jens Alfke j...@mooseyard.com wrote: On Nov 21, 2009, at 12:21 AM, Parimal Das wrote: My app needs to install a firefox addon to work. This i am doing in a postinstall script in the packaged install, copying my

Best approach to write an uninstaller for osx

2009-11-20 Thread Parimal Das
are getting handled here? What is best approach to do this whole process? Advance Thanks -Parimal Das ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

How to detect and disable/delay sleep event in cocoa for some critical threads to complete

2009-10-15 Thread Parimal Das
) is issued 2. Delay sleep till my threads come out 3. Then continue to going into sleep. Please suggest. Thank you -Parimal Das ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Problem with LSSharedFileListInsertItemURL() usage. (API in LaunchServices/LSSharedFileList.h)

2009-09-07 Thread Parimal Das
); } CFRelease(loginListRef); }* Advance Thanks -Parimal Das ___ 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

Re: Problem with LSSharedFileListInsertItemURL() usage. (API in LaunchServices/LSSharedFileList.h)

2009-09-07 Thread Parimal Das
://www.degutis.org/ On Mon, Sep 7, 2009 at 6:10 AM, Parimal Das parimal@webyog.comwrote: Hello all, I am trying to do the following- when my app is used for the first time - *'open at login'* is selected by default. For that i am calling the code below for the app's first run

Is it possible to open a URL in a specific browser rather than the default one ???

2009-06-02 Thread Parimal Das
-- -- Warm Regards, Parimal Das ___ 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

how to enable by-default the dock menu open at login option

2009-05-12 Thread Parimal Das
Hello I want that my app should have the dock menu open at login item selected by default. I have seen it in few apps. Please tell me what to use for that. Adv Thanx -- -- Warm Regards, Parimal Das Software Engg. Webyog Softworks ___ Cocoa-dev

How to get finder type Open With dialog box

2009-04-28 Thread Parimal Das
this in cocoa, NSOpenPanel doc is not helping or i am looking in the wrong direction?? Please help Advance Thanks -Parimal -- -- Warm Regards, Parimal Das ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: NSImage resizing

2009-01-15 Thread Parimal Das
Giesen heinrich.gie...@t-online.de wrote: On 09.01.2009, at 15:11, Parimal Das wrote: in my application i need to resize a .jpg image through a command line What does it mean: resize ?. Every NSBitmapImageRep has two sizes: a (print-)size which says how long width and hight (expressed

Re: NSImage resizing

2009-01-13 Thread Parimal Das
atomically:YES]; Probably safer to iterate the representation(s) and actually add a check to see that bitmapImage really is one before actually using it, just in case another representation is created. steve On Jan 9, 2009, at 5:50 AM, Parimal Das wrote: hi in my application i need to resize a .jpg

NSImage resizing

2009-01-09 Thread Parimal Das
it to a file path stored in destPath this code is not altering the size at all i cant create a NSView as its a command line app any suggestions ??? how to resize it?? Advance Thanx -Parimal -- -- Warm Regards, Parimal Das ___ Cocoa-dev mailing list

substitute of QLThumbnailImageCreate() for 10.4 Tiger compatability

2009-01-07 Thread Parimal Das
(200,200), (CFDictionaryRef)dict); in documentation it say that this function is available only for 10.5 n above. how to substitute that?? Advance thanx -parimal das -- -- Warm Regards, Parimal Das ___ Cocoa-dev

Re: Replacing objects

2008-12-23 Thread DAS
Thanks for the help guys, I agree, the way I had been thinking about it seemed like a strange way to go about dealing with the problem I was having. While this has started an interesting topic on NSProxy (seems like a really helpful class for implementing that pattern), I think my problem is going

Replacing objects

2008-12-22 Thread DAS
Hey guys, I'm fairly new to cocoa development here, so please bear with me. Is it possible to replace an object with another object so that all pointers to that object now point to the new object? In other words: Ptr A - object1 Ptr B - object1 Ptr C - object1 I want to replace object1 with