Preference pane lifecycle when opened from Finder/CFMessagePortSendRequest fails silently
Preference pane lifecycle when opened from Finder/CFMessagePortSendRequest fails silently
- Subject: Preference pane lifecycle when opened from Finder/CFMessagePortSendRequest fails silently
- From: Stuart Yarrow <email@hidden>
- Date: Mon, 2 Aug 2004 14:35:10 +0100
Hi
I have a preference pane that communicates with a kext via the
IORegistry and with a MIDI driver via a CFMessagePort. When the pane
is opened from System Preferences as normal, everything works fine. If
the pane is opened by double-clicking the bundle directly in the
Finder, System Preferences starts, gets some of the way through
initialising the pane, and then quits or crashes silently (no crash
log) without ever displaying a window.
System Preferences appears to be failing in my first call to
CFMessagePortSendRequest. Debugging output shows no obvious difference
between the parameters passed in this call in the two situations (e.g.
no null pointers). Debugging output from the driver shows that the
message is received correctly, so the failure might well be in the
reply phase of the exchange.
Are there any differences in the life cycle of the PrefPane when
started directly? Is it possible that System Prefs is crashing without
generating a log? How could CFMessagePortSendRequest be failing
silently?
Any help or suggestions much appreciated...
thanks,
-Stuart
Stuart Yarrow
IT Systems Manager, Subcity Radio -
http://www.subcity.org/
-------------------------------------------------------------
http://fingamidi.sourceforge.net/
http://www.outpost.org.uk/
http://www.SSPaberdeensouth.org.uk/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.