Re: Win32::Semaphore question

2001-05-30 Thread guus . teley
Jenda, Yes, my last adjustment worked... but only up to 64 clients. I suppose it was too good to be true! Now is 64 a too much computer like number, so I suppose there must be some limit within Perl's implementation of fork(). As fas as my knowledge goes, it has been implemented by means of th

Re: Win32::Semaphore question

2001-05-30 Thread guus . teley
Jenda, Thanks for your input, but I do believe I need to clear up some parts. I use a semaphore for synchronizing between parent and child(s). The semaphore starts with a initial value of, say 5 ( the maximum number of child processes I want to handle simultaneously), and the parent process wai

Win32::Semaphore question

2001-05-30 Thread guus . teley
To: [EMAIL PROTECTED] cc: Subject: Win32::Semaphore Hello, I'm trying to get some synchronisation working between several child processes, using a counting semaphore. Probably I'm doing something wrong, because I get errors when releasing the semaphore, stating that the handle is invalid.

Re: System and User environment Variables

2001-05-11 Thread guus . teley
Wesley, Here's a small example of how I use Perl for this purpose: use Win32::NetAdmin qw(GetServers); use Win32::TieRegistry(Delimiter=>"/"); sub set_env_vars(); exit set_env_vars(); sub set_env_vars()

Win32API::Registry

2000-11-16 Thread guus . teley
Hello, This is my third and last attempt for help on using Win32API::Registry. Is there anyone who has some experience in using the security part?? I do get the right answers on the size of the DACL/SACL part, but trying to get the actual ACL's fails. HELP! ~#~ ___