what headers you've included?
with uintptr i get compilation error: incompatible types: "ULONG" and "IND VOID" for op AS.with void* it compiles without errors.alex.b.ps: are you czech?