|
-
Mar 10th, 2008, 08:34 AM
#9
Re: Deny deletion of any directory
Well....
If you use API, you could open the folder for reading & write (not a file in a folder, but the folder itself), and save the file pointer into registry (or file, or whatever...) and close your program (without closing the file pointer).
Then when you want to release the folder, you open your program again, read back your settings (file pointer), and close the pointer to the folder.
This is in theory, I never actually tried it, but it's worth to try it I think...
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
|