Hi, Is there a list of the return codes given by display_dib_block@, with the description of their meanings? Thank you for your help!
display_dib_block@ return codes
An error value of 13 means width ⇐ 0 or height ⇐ 0. An error value of 4 means a failure to allocate memory for the DIB. An error value of 0 means success.
The routine calls the API StretchDIBits when it could fail but at the moment a failure at this point is not reported. I have now updated the routine so that in the future it will give an error code of 9 when this occurs.
Many thanks!