Notifications between Carbon and Cocoa

macrumors newbie

I'm writing a preference pane bundle in cocoa (using the xcode project defaults) and a carbon app that is supposed to communicate with it. However the notifications the cocoa app is posting either don't get sent or the carbon app is not registering correctly as an observer. I've hunted around on the web quite a bit and can't seem to see why this isn't working. The relevant bit in the cocoa panel bundle is :

the updateMessages function prototype is copied right out of the example posted in the docs, so I'm assuming that it works. Also I tried adding the file "do_xnc_log" to /var/tmp which is supposed to log notifications, but I don't see anything there. Anyone have any ideas as to what is going wrong or a better way to debug notifications?

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.