View previous topic :: View next topic |
Author |
Message |
Steve
Joined: 23 Feb 2007 Posts: 73
|
Posted: Tue Nov 11, 2008 12:44 pm Post subject: PUT_DIB_BLOCK@ error |
|
|
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? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7942 Location: Salford, UK
|
Posted: Tue Nov 11, 2008 1:37 pm Post subject: |
|
|
It is a memory allocation error when creating a DIB block for the image. |
|
Back to top |
|
|
Steve
Joined: 23 Feb 2007 Posts: 73
|
Posted: Tue Nov 11, 2008 2:14 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7942 Location: Salford, UK
|
Posted: Tue Nov 11, 2008 5:48 pm Post subject: |
|
|
Yes it looks like there is a memory leak.
I will email a new salflibc.dll for testing within the next few days. |
|
Back to top |
|
|
|