On Monday, 25 May 2020 at 21:45:39 UTC, welkam wrote: > Where is DWORD_PTR defined? it is a win32 thing. should be able to directly cast to it most the time if there is opCast on the class it needs another layer of helper function but without opCast it should just work