When compiling with LCL_PLATFORM="qt" I found this error: qtobject.inc(269,20) Error: Illegal type conversion: "DWord" to "TQtObject" I can typecast the dword to pointer first, but that won't help runtime (in fact, causes an access violation) since a DWord cannot hold a pointer in 64bit app. Ales