LWN.net Logo

log why the permission is denied

log why the permission is denied

Posted Jan 20, 2013 1:31 UTC (Sun) by dvdeug (subscriber, #10998)
In reply to: log why the permission is denied by dlang
Parent article: Making EPERM friendlier

The ashheap of history is littered with *nix companies. And Microsoft is still out there. History's statement on the matter tells me that you've got to know when to hold them, know when to fold them, know when to walk away, and know when to run. Neither standards nor standard-free innovation is a guarantee of anything.

90% of companies and organizations fail quickly no matter what they do.


(Log in to post comments)

log why the permission is denied

Posted Jan 21, 2013 23:13 UTC (Mon) by cmccabe (guest, #60281) [Link]

Microsoft's Win32 uses simple integer error codes.

http://msdn.microsoft.com/en-us/library/cc231199.aspx

So this kind of rant is offtopic in more ways than one...

log why the permission is denied

Posted Jan 22, 2013 17:51 UTC (Tue) by ssmith32 (subscriber, #72404) [Link]

And windows has one of my favorite error codes/constant names!

ERROR_SUCCESS, of course :)

-stu

log why the permission is denied

Posted Jan 23, 2013 0:36 UTC (Wed) by marcH (subscriber, #57642) [Link]

... possibly brought by the same people who gave us the Start->Shut Down menu item.

PS: I thought Windows 7 got rid of the "Start" name but I just found it is still showing as a tooltip.

log why the permission is denied

Posted Jan 24, 2013 11:19 UTC (Thu) by sorokin (subscriber, #88478) [Link]

No. Since introduction of COM it uses IErrorInfo in addition to HRESULT.

log why the permission is denied

Posted Jan 30, 2013 5:53 UTC (Wed) by cmccabe (guest, #60281) [Link]

COM is a userspace thing, similar to DBus or CORBA. We are discussing kernel APIs here.

log why the permission is denied

Posted Jan 30, 2013 7:33 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link]

Not really, COM is also used in kernel. IErrorInfo also supports marshalling across processes.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds