mirror of
https://github.com/CloudDelphi/Virtual-File-System
synced 2025-12-19 09:53:54 +01:00
17 lines
560 B
Plaintext
17 lines
560 B
Plaintext
UTF-8 Logging
|
|
|
|
Move copyright to single file license?
|
|
|
|
SetCurrentDirectoryW(GetCurrentDirectoryW)
|
|
System.IsMultiThread for DLL and exported API
|
|
|
|
(* Trying to turn off DEP *)
|
|
SetProcessDEPPolicyAddr := Windows.GetProcAddress(Kernel32Handle, 'SetProcessDEPPolicy');
|
|
|
|
if SetProcessDEPPolicyAddr <> nil then begin
|
|
if PatchApi.Call(PatchApi.STDCALL_, SetProcessDEPPolicyAddr, [0]) <> 0 then begin
|
|
Log.Write('VFS', 'SetProcessDEPPolicy', 'DEP was turned off');
|
|
end else begin
|
|
Log.Write('VFS', 'SetProcessDEPPolicy', 'Failed to turn DEP off');
|
|
end;
|
|
end; |