On 10/30/07, Ken Dibble <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> I've got two issues here.
>
> 1. My application creates a semaphore .txt file in either the \WINNT folder
> or \Windows folder, depending on which the OS uses.

Oooh, that's bad :-)  This will never have worked properly on any
version of Windows NT...  Also this won't work with terminal services
as you can have multiple users connected at the same time.

There are Windows API functions to create semaphores.  I have some
sample code at work that I'll post tomorrow.  If it's any consolation
we used to write a semaphore file to the root of C: :-)

-- 
Paul


_______________________________________________
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