On 2/22/10 1:21 PM, Kyle Sluder said:
>> Still i am able to launch multiple instance of the same application.
>
>How are you going to deal with Fast User Switching?
LSMultipleInstancesProhibited was added to deal with fast user
switching. It should be working for the OP, works for me:
L
On Sun, Feb 21, 2010 at 9:59 PM, Poonam Virupaxi Shigihalli
wrote:
> Still i am able to launch multiple instance of the same application.
How are you going to deal with Fast User Switching?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.app
When I have a process that I really don't want running more than once
(some people will run copies or use LaunchServices to launch
multiples) I register a named mach port with NSConnection. When when
an instance launches it checks for that connection and if it exists
the new instance exits
kinda carboney but it think it should work
boolGetIndProcessType(
OSType typeToFind,
OSType creatorToFind,
ProcessSerialNumber *psnP,
short
Hw are you going about launching this app?
On 22 Feb 2010, at 05:59, Poonam Virupaxi Shigihalli wrote:
>
> Hi list,
>
> Is there a way to check an application instance is running. I tried enabling
> application prohibits multiple instance in info.plist.
> Still i am able to launch multiple ins
Hi list,
Is there a way to check an application instance is running. I tried enabling
application prohibits multiple instance in info.plist.
Still i am able to launch multiple instance of the same application.
Thanks,
Poonam
___
Cocoa-dev mailing li