>Hi there. > >You may want to consider using a mutex instead a semaphore file. A mutex is >created upon application's startup and resides in memory as long as the app >runs. When app is shut down (or it's process is killed in any way), the >mutex is released automatically by the OS. > >I don't have the code handy (I'm on a friend's computer now) but as soon as >I get to my computer I'll send a piece of code that does that.
Thanks, Grigore. It looks like the code from the wiki will serve me.
Ken Dibble www.stic-cil.org
©2007 Ken Dibble |