Newbie Question: Running dialog loop
Newbie Question: Running dialog loop
- Subject: Newbie Question: Running dialog loop
- From: John Cebasek <email@hidden>
- Date: Tue, 21 Dec 2004 13:51:29 -0500
Hi All:
I'm working on a replacement for the login screen for Mac OS X. I've been doing my debugging via a test harness and everything seems to be working well. In my logging output I see that I'm looping around in my dialog loop.
However when I don't start my replacement (it's a bundle actually) via my test harness (that's a backwards way of saying, I set an entry in the authorization file to use my replacement), the plugin hangs at:
[NSApp nextEventMatchingMask:NSAnyEventMask
untilDate:[NSDate distantFuture]
inMode:NSModalPanelRunLoopMode
dequeue:YES];
So obviously when running from an application the environment is correctly set up so that the dialog runs. Is there an appropriate call to initialize the runtime environment when using Cocoa in a plugin? Or is the run loop incorrect?
Any comments are appreciated.
If more information is needed, I'll be pleased to reply.
Thanks in advance for your time
John Cebasek
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden