>Joe user doesn't have read/write access to the Windows folder on
>Windows NT.  IIRC you need to be a Power User or similar.  As others
>have pointed out Windows is not necessarily installed on C:\ nor does
>it even need to be called WINNT or WINDOWS.  Pre XP Boot.ini
>controlled the Windows folder but I think this changed with Vista.

All my users running an NT-kernel OS are Restricted Users on Win 2000. The 
application has no problem creating or finding the file in \WINNT on those 
machines.

You're right, of course, about users having the option to choose the folder 
to install Windows to. But I control all those installations and always 
accept the default location. And I agree, what I'm doing is probably not 
flexible enough.

>Basically you need to call CreateMutex().  If it returns
>ERROR_ALREADY_EXISTS then the app is already running.  If your task
>shuts down the mutex is automatically deleted by Windows.
>
>There's some sample code here:
> 
>http://fox.wikis.com/wc.dll?Wiki~ControllingTheNumberOfApplicationInstances~VFP

All right, that looks straightforward enough. For some reason when I've 
looked at code to create mutexes before it seemed a whole lot more complex.

Thanks!

Ken
www.stic-cil.org



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to