I am trying to display a array of pixels to the screen through SetDibitsToDevice API in C++ builder6.0 in windows2000.It works good. But some times the picture is not displayed. To check the error , I used GetLastError function, and it displayed "operation completed successfully", but the picture is not displayed. This error occurs randomly only. Can anyone help me to fix this bug..
thanks for ur help.