C auto start program on windows can't use files -
i create program auto start windows, using registry:
current_user\microsoft\windows\currentversion\run
when windows starts, program starts too, problem on auto start can't manipulate files, when open program can everything.
using getlasterror
can see error code 5: access denied, strerror return "access denied" , using formatstring message like: "error description 5: access denied.
can explain why hapening?
the program starting system32, create files in exe dir, better use getmodulefilename
.
Comments
Post a Comment