> > >Note that I also do a simple LockFile() on the file to make sure the > > >other workstation didn't squeeze inbetween the first two lines. > > > Okay, it looks like you're using CreateFile() (despite its name) just to > > return a handle for a file whose name is passed in as a parameter? Then you > > lock that file before copying it? > >Sorry for the delay in replying. Yes, CreateFile() is the win32 >function used to open files as well as create them. It returns the a >file handle if it succeeds.
Thanks, Derek. Ken Dibble www.stic-cil.org _______________________________________________ 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.

