07-28-2010 03:14 AM
I want my CVI program to overwrite a dll with a new one in c:\windows\system32. When I call the CopyFile function in my program, the error code 6 is returned which means "Access denied".
Do you know how I could programatically give my program the right to overwrite this dll?
Thanks for your help!
Solved! Go to Solution.
08-02-2010 02:31 AM
Most likley you might have got just a read permission to the dll only.
08-02-2010 02:34 AM
I am sorry but this issue was my mistake...
The DLL was simply loaded in memory when my program was trying to overwrite it.
08-02-2010 02:45 AM
oh!!!thanks for updating