Hi, i am working on a project to copy a file to the location of system32 folder.
However, the program looks working but i don't think it works.
First of all, i am a windows 7 32bit user.
Anyways, just in case it is possible to access system32 folder or not,
i menually copied a file into system32 folder, but i didn't work, and
the windows showed me a popup saying "You don't have the right to access" even though I logged in as a administrator.
So, I realized my program might not work properly.
Administrators don't have their administrative privileges ON by default. Whenever you take an action that requires admin privileges, you are prompted to acknowledge the action and grant or deny it.
If your program requires the privileges, you need to embed a manifest that tells Windows that it requires them. Google it up. Along the lines "c++ manifest requiresAdministrator", or "c++ manifest uac". It should appear quickly enough.