Problem in notification

2014-06-10 Thread Tom Doan
I have a user of one of my software programs who has been having all kinds of problems which I can't seem to reproduce, and have no idea how to even debug them. I include below a traceback that he sent me. This is something that occurs almost right away: launch the program, do File-New, and it

Re: Problem in notification

2014-06-10 Thread John Pannell
Hi Tom- What does the implementation of this method look like? [ENSScrollView viewContentFrameDidChange:] This error: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x ... makes me think that something is nil that is not supposed to be,

Re: Problem sending notification from C callback function

2009-01-09 Thread Sandro Noel
Ken thank you. the problem was elsewhere in a dictionary key name... thank you for your help!!! Sandro Noel. On 9-Jan-09, at 2:09 AM, Ken Thomases wrote: On Jan 8, 2009, at 7:57 PM, Sandro Noel wrote: I have this callback from DiskArbritation framework and I would like to send a

Problem sending notification from C callback function

2009-01-08 Thread Sandro Noel
Greetings. I'm having a little problem due to lack of knowledge here. I have this callback from DiskArbritation framework and I would like to send a notification to my app. but it does not seem to work. the callback is registered like this. daSession =

Re: Problem sending notification from C callback function

2009-01-08 Thread Sean McBride
Sandro Noel (sandro.n...@mac.com) on 2009-01-08 8:57 PM said: DARegisterDiskDisappearedCallback(daSession, NULL, DiskDisappearedCallback, (void *)self); Is your application garbage collected? If so, passing self as the context could be problematic. See:

Re: Problem sending notification from C callback function

2009-01-08 Thread Ken Thomases
On Jan 8, 2009, at 7:57 PM, Sandro Noel wrote: I have this callback from DiskArbritation framework and I would like to send a notification to my app. but it does not seem to work. Does not seem to work in what way? Are you getting compiler errors or warnings? Crashes at runtime? What?