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 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. > &g

How to change name and location of "core dump files"

2010-08-26 Thread Parimal Das
) to get the correct 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 t

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 :) -P

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

2010-01-04 Thread Parimal Das
Form where my app 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

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

2009-12-10 Thread Parimal Das
0x0014 0xa1b1c1d3 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 l

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 wrote: > On Dec 8, 2009, at 5:25 AM, Parimal Das wrote: > > I am trying to write "CFBundleGetInfoString" into "InfoPlist.strings" > from > > c

Unable to write in InfoPlist.strings file from cpp

2009-12-08 Thread Parimal Das
瑉湦潓瑲楮朠㴠≍慩求牯睳敲′⸳⁐䕎呁Ⱐ䍯 Any idea what 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-a

Re: Best approach to write an uninstaller for osx

2009-11-25 Thread Parimal Das
n Nov 24, 2009, at 6: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

Re: Best approach to write an uninstaller for osx

2009-11-24 Thread Parimal Das
x27;t care, but the OS sure as heck does. Launch > Services and CoreServices both freak out if a running app goes > bye-bye—to the Trash or anywhere else. > > --Kyle Sluder > -- -- Warm Regards, Parimal Das ___ Cocoa-dev mailing list (

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 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,

Re: Best approach to write an uninstaller for osx

2009-11-21 Thread Parimal Das
itune example is really scary man. On Sat, Nov 21, 2009 at 12:56 PM, Jens Alfke 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. >

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 at

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

2009-10-15 Thread Parimal Das
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

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

2009-09-07 Thread Parimal Das
is > http://www.thoughtfultree.com/ > http://www.degutis.org/ > > > On Mon, Sep 7, 2009 at 6:10 AM, Parimal Das wrote: > >> Hello all, >> >> I am trying to do the following- "when my app is used for the first >> time - *'open >> at login'* is se

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

2009-09-07 Thread Parimal Das
CFRelease(loginItemRef); } 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-

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 ___

How to get finder type "Open With" dialog box

2009-04-28 Thread Parimal Das
he app from the list. How to do 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.

Re: NSImage resizing

2009-01-15 Thread Parimal Das
.icn files)* * On Tue, Jan 13, 2009 at 4:36 PM, Heinrich 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: "r

Re: NSImage resizing

2009-01-13 Thread Parimal Das
gt; [[bitmapImage representationUsingType:NSJPEGFileType properties:dict] > writeToFile:destPath 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 represent

NSImage resizing

2009-01-09 Thread Parimal Das
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