Re: Advice on debugging a GC related crash

2009-09-26 Thread Harry Jordan
Sep 2009, at 16:01, Bill Bumgarner wrote: On Sep 25, 2009, at 4:32 AM, Harry Jordan wrote: Thread 3 Crashed: Dispatch queue: Garbage Collection Work Queue 0 com.apple.CoreFoundation 0x95c6c393 __CFTypeCollectionRelease + 83 1 com.apple.CoreFoundation 0x95c68eb8

Advice on debugging a GC related crash

2009-09-25 Thread Harry Jordan
I've just released my first application, and despite the best efforts of me and an admitedly small group of beta testers it seems that a crashers slipped through. So far this one has only effected 1 user out of maybe 500: OS: 10.6.1 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception

Re: I can't find it in the docs so I know I'm missing it some where

2009-09-02 Thread Harry Jordan
There' s a good reason to enforce the 99 cent rule. Imagine a scenario in which a user downloads an app that is advertised as free, only to find that it's crippled beyond use without a subscription to a service or an internal upgrade. That's no way to build trust in the App Store. Yes,

Re: Detect Keyboard Layout for CGKeyCodes

2009-08-20 Thread Harry Jordan
a better way to do this than CGEvents? I just need it to be universal–This app is a background app, so the keystroke needs to be able to be inserted anywhere. Cheers, Joe Turner On Wednesday, August 19, 2009, at 07:30PM, Harry Jordan cocoaha...@googlemail.com wrote: I've not used CGEvents

Re: Need advice about how to create a Cocoa Framework

2009-08-19 Thread Harry Jordan
Do you mean that you want to write an Objective-C wrapper to the C library, or just group the C functions into an easily accessible place? If your wrapping things in Objective-C, try not to change any of the C library (of course tidying, and bug fixing as you go's allowed). Write the

Re: Detect Keyboard Layout for CGKeyCodes

2009-08-19 Thread Harry Jordan
://inquisitivecocoa.com/2009/04/05/key-code-translator/ for my version of what I think your trying to achieve. Be warned, there are a few gaps in my implementation (like F numbers for instance), but that shouldn't be that hard to add. Harry Jordan http://inquisitivesoftware.com/ On 19 Awst 2009, at 18:40

Re: How to set the name of open-with application for a specific file?

2009-08-02 Thread Harry Jordan
(Not sure why this didn't get sent to the list the first time round, but here it is for the Google bots to pick up) The place to look is the Launch Services Reference, in particular the LSSetDefaultRoleHandlerForContentType() function. I haven't used the setter functions myself, but it looks

Re: Confounding crash, not much to go on except a stack trace

2009-05-09 Thread Harry Jordan
, when it was running 64bit. So problem solved, but I'm not sure how or why. On Mar 26, 10:32 pm, Nick Zitzmann n...@chronosnet.com wrote: On Mar 26, 2009, at 2:33 PM, Harry Jordan wrote: I was wondering if anyone could shed light on this strange error   that occurs, sometimes, (never when I'm