How to backup using backup API's in c++
- by user1603185
I am writing an application that used to backup some specified file, therefore using the backup API calls i.e CreateFile BackupRead and WriteFile API's.
getting errors Access violation reading location.
I have attached code below.
#include <windows.h>
int main()
{
HANDLE hInput, hOutput;
//m_filename is a variable holding the file…