Windows API test program

Job ID: 32281293

Budget: $10 – $100 USD

The purpose of the program is to demonstrate API functionalities of the Windows API (Win32 API) using C++.
This task can be easily done by conducting short research. The purpose is to help users delete files which sometimes can't be deleted (for example after uninstalling a program), so in order to delete these files, the program needs to check who locks it, then release the lock and then retry.

Platform: Windows C++ (Win32 API).
Function ForceDelete(LPWSTR FilePath)

The function should delete a file even if it is locked.
If the file is a process (i.e. an exe), the program should locate all instances of the process and terminate them, then delete the file and verify it has been deleted, if not, wait and retry.
If the file is a data file locked by a process, the program should locate that process and terminate it.

Deliverables must be a Visual Studio project with full source code.