<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hello Chris Warrington,</DIV>
<DIV>Thanks I'll look into that. I agree, it is off scheme.</DIV>
<DIV>Jos Koot</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=chrisw@rice.edu href="mailto:chrisw@rice.edu">Chris Warrington</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jos.koot@telefonica.net
href="mailto:jos.koot@telefonica.net">jos koot</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=david.gurvich@verizon.net
href="mailto:david.gurvich@verizon.net">David Gurvich</A> ; <A
title=plt-scheme@list.cs.brown.edu
href="mailto:plt-scheme@list.cs.brown.edu">plt-scheme@list.cs.brown.edu</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 19, 2006 8:40
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [plt-scheme] file lock</DIV>
<DIV><BR>jos koot @ 2006-12-19 1:24:06 PM<BR>"[plt-scheme] file lock"
<mid:002701c723a3$405fa580$2101a8c0@joskoot></DIV>
<DIV> </DIV>
<DIV>> MsWord realy locks its open files from being write-accessed by
other<BR>> applications. This would be rather convenient. But I cannot
figure<BR>> out how MsWord does this locking.</DIV>
<DIV> </DIV>
<DIV>Going a little non-PLT-Scheme here...</DIV>
<DIV> </DIV>
<DIV>I'd take a look at the LockFile, UnlockFile, and CreateFile WIN32
API<BR>calls. You should be able to use them with foreign.ss. You may need
to<BR>create a new port type to do this locking nicely.</DIV>
<DIV> </DIV>
<DIV>-- <BR>Chris Warrington <<A
href="mailto:chrisw@rice.edu">chrisw@rice.edu</A>></DIV>
<DIV> </DIV>
<DIV><BR>Should vegetarians eat animal
crackers?</DIV></BLOCKQUOTE></BODY></HTML>