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 

get_dib_size@

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



Joined: 14 Nov 2007
Posts: 314
Location: Düsseldorf, Germany

PostPosted: Tue May 24, 2016 7:02 am    Post subject: get_dib_size@ Reply with quote

I found a funny behaviour, may be an error:

Code:
program test

include <windows.ins>

c_external USE_GDIPLUS_IMAGE_FILES@ '__use_gdiPlusForImageFiles' (VAL):integer*4

integer*4      i,rows,cols,bits,errcode
character*120  ifile

ifile = 'c:\temp\not_existing.bmp'
rows = 0
cols = 0
bits = 8
i = use_gdiplus_image_files@(1L)
call get_dib_size@(ifile,rows,cols,bits,errcode)
print*,rows,cols,bits,errcode
end


get_dib_size@ returns the initialised values of rows, cols and bits, and returns errcode as zero, but the input image doesn't exist.

Wilfried
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue May 24, 2016 9:45 am    Post subject: Reply with quote

Thanks for the feedback.
This has now been fixed for the next release.
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