Reinier Sterkenburg says: The answer is: use GlobalAlloc and GlobalLock from the WinProcs unit. New question is then: why can't we use GlobalAllocPtr anymore? Answer: I don't know.