Thanks for the reply Brian. I think I'll try Ilya's method first.

Brian Millham-2 wrote:
> 
> rpnoble wrote:
>> How can i detect a 2nd launch of my application, popup an error message
>> and
>> then exit?
>>   
> Look at the Win32::Mutex module. You register your app when it starts, 
> and check if it's already running.
> 
> If you need, I can give you some sample code.
> 
> -- 
> Brian, Tommy, Helen and Paka -- [EMAIL PROTECTED]
> This message traveled at least 44,000 miles to reach you!
> 
> 
> 
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 080613-1, 06/13/2008
> Tested on: 6/13/2008 9:46:47 PM
> avast! is copyright (c) 2000-2008 ALWIL Software.
> http://www.avast.com
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> http://perl-win32-gui.sourceforge.net/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/detecting-a-second-version-of-my-app-tp17833771p17839562.html
Sent from the perl-win32-gui-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to