main logo
Subject: Re: Where Do Files Go When Sent to the Vista Windows Folder?
Author: Ken Dibble
Posted: 2007/10/31 10:14:50
 
View Entire Thread
New Search



>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




 
©2007 Ken Dibble
<-- Prior Message New Search Next Message -->