Silverfrost Forums

Welcome to our forums

PUT_DIB_BLOCK@ error

11 Nov 2008 11:44 #4003

We are getting an error code returned from this call of '4'. This value does not seem to be documented anywhere. What is this error?

11 Nov 2008 12:37 #4006

It is a memory allocation error when creating a DIB block for the image.

11 Nov 2008 1:14 #4007

Ok. PUT_DIB_BLOCK@ is being called in a loop which, in this instance, runs 18 times. One large array is re-used each time for writing the BMPs. The last time we tested this, The first seven BMPs were created sucessfully, the remaining 11 all returning an error of 4. Is there a memory leak in this routine? The resultant sucessful BMPs are 40Mb in size.

11 Nov 2008 4:48 #4008

Yes it looks like there is a memory leak. I will email a new salflibc.dll for testing within the next few days.

Please login to reply.