[Lazarus] BitBlt caused SIGFPE in lclproc.pas

Bart bartjunk64 at gmail.com
Fri Mar 1 12:02:18 CET 2013


Hi,

> Why the following code generated SIGFPE on BitBlt?
[snip]
>   ClipDC := CreateCompatibleDC(ScreenDC);

http://msdn.microsoft.com/en-us/library/aa922550.aspx says that if the
Result of  CreateCompatibleDC = NULL, then the function failed.
So, maybe you should check that before callinf BitBlt?
(Just guessing here).

Bart




More information about the Lazarus mailing list