Re: RtlAdjustPrivilege and NtRaiseHardError

2020-05-25 Thread Arsium via Digitalmars-d-learn
On Sunday, 24 May 2020 at 20:35:58 UTC, novice2 wrote: "doesn't work" isn't very helpful. Are you seeing compiler errors? Linker errors? Runtime errors? Please describe your problem. Solved my problem alone : wrong signatures with functions ;) and this reply isn't very helpful. what is

Re: RtlAdjustPrivilege and NtRaiseHardError

2020-05-24 Thread novice2 via Digitalmars-d-learn
"doesn't work" isn't very helpful. Are you seeing compiler errors? Linker errors? Runtime errors? Please describe your problem. Solved my problem alone : wrong signatures with functions ;) and this reply isn't very helpful. what is right signature? you go to forum to ask help. but wish you

Re: RtlAdjustPrivilege and NtRaiseHardError

2020-05-24 Thread Arsium via Digitalmars-d-learn
On Saturday, 23 May 2020 at 01:33:13 UTC, Mike Parker wrote: On Friday, 22 May 2020 at 19:19:19 UTC, Arsium wrote: Just I tried to launch those functions from win32 api and seems doesn't work "doesn't work" isn't very helpful. Are you seeing compiler errors? Linker errors? Runtime errors?

Re: RtlAdjustPrivilege and NtRaiseHardError

2020-05-22 Thread Mike Parker via Digitalmars-d-learn
On Friday, 22 May 2020 at 19:19:19 UTC, Arsium wrote: Just I tried to launch those functions from win32 api and seems doesn't work "doesn't work" isn't very helpful. Are you seeing compiler errors? Linker errors? Runtime errors? Please describe your problem.

RtlAdjustPrivilege and NtRaiseHardError

2020-05-22 Thread Arsium via Digitalmars-d-learn
Just I tried to launch those functions from win32 api and seems doesn't work Here is my code module D_Programming_Test; import core.sys.windows.windows; pragma(lib, "ntdll.lib"); alias extern(C) int function(string[] args) MainFunc; extern (C) int _d_run_main(int argc, char **argv,