For Programmers: Free Programming Magazines  


Home > Archive > Clipper > June 2004 > Phantom locks not all PCs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Phantom locks not all PCs
Martin \(Please note spammers email address used\)

2004-05-18, 8:30 am

Opening a text file literally FOPEN, FREAD, FCLOSE

All is fine except that Win98 W/S fail as the file is supposedly open,
however Win2000 W/S open it fine.

Server is Win2000

This is totally wierd as if there is a lock why didn't the Win200 W/S obey
the locks

Thanks


Don Rhodes

2004-05-19, 5:30 am

Win2000 does not know how clipper record locks works
Clipper applications accessing data on Win2000 is the same as with any
peer-to-peer machine, just a file share situation.
Clipper places it own record locks on the file.
You should set Win2000 server Oplocks to 0 (zero). You'll find Oplock
description on Microsoft's knowledge base.

Win98 machines have poor memory management and require re starting
occasionally during the day.
The NT machines such as Win2000 work station or Win XP Pro greatly improve
memory usage and reduce the LAN traffic so record locks get delivered to the
database over the lan.

If you want a database server on Win2000 for clipper applications, get
Extended Systems' Advantage Database server with the Clipper RDD for
Advantage.

"Martin (Please note spammers email address used)" <avtoteplo@altern.org>
wrote in message news:c8ctau$5l9$1@hercules.btinternet.com...
> Opening a text file literally FOPEN, FREAD, FCLOSE
>
> All is fine except that Win98 W/S fail as the file is supposedly open,
> however Win2000 W/S open it fine.
>
> Server is Win2000
>
> This is totally wierd as if there is a lock why didn't the Win200 W/S obey
> the locks
>
> Thanks
>
>



Martin \(Please note spammers email address used\)

2004-06-16, 8:55 am

>>If you want a database server on Win2000 for clipper applications, get[color=darkred]

I know - this is a text file I was reading!


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com