Re: NSApp problem outside of bundle
Re: NSApp problem outside of bundle
- Subject: Re: NSApp problem outside of bundle
- From: "Stephen J. Butler" <email@hidden>
- Date: Mon, 29 Jun 2009 17:12:20 -0500
On Mon, Jun 29, 2009 at 3:03 PM, Peter
Mulholland<email@hidden> wrote:
> BTW Yes I know about kCurrentProcess. It doesn't work. Passing that to TransformProcessType() causes a crash.
You don't use kCurrentProcess as an argument. You use it like this:
ProcessSerialNumber psn = { 0, kCurrentProcess };
TransformProcessType( &psn, ... );
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden