Hi,
If you download the Example Projects zip on RealBasic's website there is
a file MutexExample.rbp in the Windows OS specific folder.
The example show's how to allow just one instance of and applicatoin run
at one time.
In the program its says:
Note that with RB 2005r1, there is a cross-platform Mutex class that
behaves similar to the Win32 declare mutex. It has the extra bonus of
working with the REALbasic threading model. So please use the new
Mutex class in place of these declares for this functionallity.
Is there and example showing how to use this new Mutex class in
RealBasic 2005 to prevent multiple instance from running?
Thanks for everyones help!
bryan
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|