forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PUT_DIB_BLOCK@ error

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
Steve



Joined: 23 Feb 2007
Posts: 73

PostPosted: Tue Nov 11, 2008 12:44 pm    Post subject: PUT_DIB_BLOCK@ error Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Nov 11, 2008 1:37 pm    Post subject: Reply with quote

It is a memory allocation error when creating a DIB block for the image.
Back to top
View user's profile Send private message AIM Address
Steve



Joined: 23 Feb 2007
Posts: 73

PostPosted: Tue Nov 11, 2008 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Nov 11, 2008 5:48 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group