|
-
May 27th, 1999, 04:49 AM
#1
Unable to delete last active directory
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?
-
May 27th, 1999, 06:51 AM
#2
Re: Unable to delete last active directory
Is the last directory the current directory?
Sally
-
May 27th, 1999, 06:59 AM
#3
Re: Unable to delete last active directory
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?
-
May 27th, 1999, 07:42 AM
#4
Re: Unable to delete last active directory
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
-
May 27th, 1999, 07:48 AM
#5
Re: Unable to delete last active directory
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...
-
May 27th, 1999, 09:20 AM
#6
Re: Unable to delete last active directory
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
-
May 27th, 1999, 09:34 AM
#7
Re: Unable to delete last active directory
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|