Open U65535F opened 5 months ago
If you think loading the driver directly from Program Files
is a problem, then I've tried loading it from Release directory.
Still the same error.
P.S:
sc.exe result:
have you installed the driver with the .inf file?
Sorry I didn't do that as it wasn't mentioned. Anyways here's the errors when I added the INF and compiled the driver:
Also to hide the files from other paths (other than Program Files), do we have to specify the path of the parent directory in TARGET_FOLDER
?
There is a 20 character size limit in variables that copy TARGET_FOLDER
.
Sorry I didn't do that as it wasn't mentioned. Anyways here's the errors when I added the INF and compiled the driver: Also to hide the files from other paths (other than Program Files), do we have to specify the path of the parent directory in
TARGET_FOLDER
? There is a 20 character size limit in variables that copyTARGET_FOLDER
.
Help. I've tried changing [DefaultInstall]
to [DefaultInstall.NTAMD64]
and [DefaultUninstall]
to [DefaultUninstall.NTAMD64].
Fixed by adding LegacyUninstall = 1
to [DefaultUninstall.NTamd64]
. It fixed all the errors and I had a few warnings left to fix:
FYI: I didn't add the current source code path to include path so all the user-defined includes like #include <main.h>
would be invalid, so I modified them to use double quotes instead of angled brackets like #include "main.h"
.
..??
I'll keep this issue open for people who encounter this in future.....
I have the error while starting the driver and that is
The system cannot find the file specified.
in OSR Driver Loader. I believe it's not a problem with loader because when I tried loading it with sc start, it produces the same error. The driver is compiled successfully, no modifications of source code have been done except I fixed the header includes and I changedBOOLEAN matched, search;
toBOOLEAN search;
since the matched variable is not used anywhere in the code (hide.cpp
) so It throws a warning saying unreferenced local variable. Plus I haven't modified main.h and the Hidden.sys inC:\Program Files\ToHide
as shown in the image in your README. How can I fix this error and load the driver?