CRONEJP@UREGINA1.BITNET (Jonathan Crone) (04/11/89)
I use Examine to examine a directory that i have a Lock on... lk = (struct FileLock *)Lock("NET:0",ACCESS_READ); Examine(lk,fileinfostruct); then i use ExNext to see if there are files within the directory 0.... now if there are files within the directory, i call a different function just with the filename passed to it, manipulate the file within the funtcion, (which includes calling CurrentDir to lock the local directory before i manipulate the file... ) now, the ExNext within the previously calling function seems to get lost afterwards (when i return..) Should I be messing around with locks within the called function or do i need to??? (if anyone would email me a description of how to properly manipulate Locks i'd appreciate it... (and if people could email it to me as soon as possibile I'd appreciate it...) (its for a class project..) (of course if this is confused, sorry, but its late, i'm tired, and its too close to finals. JpC -------------------------------------------------------------------- Jonathan P. Crone CRONEJP@UREGINA1.BITNET cronejp@mcl.UUCP Heisenberg might have been here...