WindowsAPI - Problem with DECLARE_HANDLE definition

Kagamin spam at here.lot
Wed Sep 11 07:52:39 PDT 2013


On Sunday, 8 September 2013 at 23:52:46 UTC, Stewart Gordon wrote:
> The problem is that null no longer works.  How to fix?

I'd say, strong handles shouldn't act as pointers (and shouldn't 
contain pointers), so null shouldn't work, I use HANDLE(0) 
instead of null. Use void* for maximum compatibility (weak 
handles).


More information about the Digitalmars-d mailing list