On Sunday, 24 May 2020 at 17:05:16 UTC, Vinod K Chandran wrote:
cast(DWORD_PTR) this);

Where is DWORD_PTR defined? I cant find it in docs. If its an alias of long then you have to cast to a pointer like this
cast(long*) this;
you need to specify that you want to cast to a pointer of type T. In this case T is long.

Reply via email to