星期三, 10月 18, 2006

winapi delete file

使用windows api來移除檔案,主要有2種api:
一是windows shell的SHFileOperation
二是DeleteFileTransactedDeleteFile

相關link:
windowssdk--- DeleteFile  DeleteFileTransacted  SHFileOperation
examples-------- Deleting locked files  SHFileOperation Demo
Common Questions Concerning the SHFileOperation API: Part 1 Part 2

沒有留言: