GetDC error with workaround lazarus / 34-Windows ---------------------------------------------------------------------- gwiesenekker · 2013-07-10 22:31 GetDC fails with SIGSEGV on Window-handles belonging to Lazarus on 64-bit Windows 7 (and so might also fail on other Window-handles): hdcSrc := GetDC(hWnd); This error does not occur on 32-bit Windows XP. You can use GetDCEx as a workaround: hdcSrc := GetDCEx(hWnd, 0, 0); Regards, Gijsbert ---------------------------------------------------------------------- exdatis · 2013-07-11 05:26 See: http://wiki.lazarus.freepascal.org/LCL_Internals Regards