"Jim Hughes" <NO*********@HotMail.com> wrote in message <news:e1**************@tk2msftngp13.phx.gbl>...
Every time I see this question, I think to myself... What if the application
is running under Terminal Server AND you want it to be once per Logged In
User session instead of once per machine...
What is the best way to do this?
If it's easy to fetch the user's SID or domain and username, make
those part of the mutex name? What would be nice is if the same
set of techniques could be used to deal with both Terminal Server
and XP's fast user-switching, since the issues are similar. =)
--
Joe Foster <mailto:jlfoster%40znet.com> Sacrament R2-45 <http://www.xenu.net/>
WARNING: I cannot be held responsible for the above They're coming to
because my cats have apparently learned to type. take me away, ha ha!