Click to See Complete Forum and Search --> : Unable to delete last active directory
John_Reese
May 27th, 1999, 04:49 AM
The last acitve directory in my code is not being deleted. The delete function works, however something is interfering and causing a failure. No error is being reported. What things (no DOS boxes running) could be interfering?
sally
May 27th, 1999, 06:51 AM
Is the last directory the current directory?
Sally
Sally
May 27th, 1999, 06:51 AM
Is the last directory the current directory?
Sally
John_Reese
May 27th, 1999, 06:59 AM
It should not be. I have tried placing _chdir("\\") to ensure that the current directory was nowhere near the directory I was trying to delete. It had no effect on the problem. Any other ideas?
sally
May 27th, 1999, 07:42 AM
1) directory readonly
2) someone else on the network using the directory at the moment
3) someother program on your computer isubg the directory at the moment
4) the directory is shared on a network
.....
Sally
Sally
May 27th, 1999, 07:42 AM
1) directory readonly
2) someone else on the network using the directory at the moment
3) someother program on your computer isubg the directory at the moment
4) the directory is shared on a network
.....
Sally
John_Reese
May 27th, 1999, 07:48 AM
Thanks...But it can only be that some other internal function in the software is using the directory...It only is a problem when the project was the last acitve, ie that no other project has been opened or created since activating the first. When deleting projects that were not recently (the last prior to deletion), there is no problem. A strange problem...
sally
May 27th, 1999, 09:20 AM
can you post your code and I'll take a look at it...
please put it between
the '[ ccode ]' and '[ /ccode ]' statements
is it snow 21 past midnight where I am, so I'll not be able to look at it for some hours
Sally
Sally
May 27th, 1999, 09:20 AM
can you post your code and I'll take a look at it...
please put it between
the '[ ccode ]' and '[ /ccode ]' statements
is it snow 21 past midnight where I am, so I'll not be able to look at it for some hours
Sally
John_Reese
May 27th, 1999, 09:34 AM
I would, but since I do not know exactly where the error is occuring, I do not know what code to post. The directorydelete I am using is the NukeDirectory code that is posted in CodeGuru. However I know it works, as I use the code in several instances and am only having problems with one. Thank you for your thoughts though.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.