On Monday, 25 May 2020 at 22:31:00 UTC, Vinod K Chandran wrote: > A dword is an unsigned, 32-bit unit of data. We can use uint in > D. I have tried that too, but no luck. A DWORD_PTR is *not* the same as a uint. It is more like a size_t or void* depending on context.