WindowsAPI - Problem with DECLARE_HANDLE definition

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Sep 11 11:29:00 PDT 2013


On 9/11/13, Kagamin <spam at here.lot> wrote:
> I'd say, strong handles shouldn't act as pointers (and shouldn't
> contain pointers), so null shouldn't work.

"NULL" is already used in a ton of WinAPI C/C++ code and MSDN
documentation, it would be a major pain in the ass to have to use e.g.
HWND(0) instead.


More information about the Digitalmars-d mailing list