New topic: 

Quit no longer works after updating from 2007r5 to 20011r1

<http://forums.realsoftware.com/viewtopic.php?t=38312>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        seamusic          Post subject: Quit no longer works after 
updating from 2007r5 to 20011r1Posted: Thu Mar 24, 2011 11:42 pm                
         
Joined: Tue May 08, 2007 12:51 am
Posts: 36                I have this code at the beginning of app.Open and it 
has worked OK for years until I updated to RealStudio 2011r1. What has changed 
since 2007r5? Instead of quitting the entire app it seems to quit app.Open and 
then try loading the main app window.

mtx is an app property.

Code:mtx = new Mutex("myApp")
if not mtx.TryEnter then
  MsgBox "Please only use one instance of the application at a time"
  Quit
end if
   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to