who sets the last error?
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Who sets the last error? is it the kernel? or the windows subsystem that calls the system calls using Nt* calls?
-
Who sets the last error? is it the kernel? or the windows subsystem that calls the system calls using Nt* calls?
Whoever detects the error and then calls SetLastError().
-
Who sets the last error? is it the kernel? or the windows subsystem that calls the system calls using Nt* calls?
There's a last error value per thread: GetLastError[^] As this link explians, the value is set by any who calls SetLastError Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.