Just when I solve one problem another one pops-up.
I am using the Vampyre Imaging Library in an older program I am trying to get to compile with the latest Lazarus.
Here's the problem at runtime now.
When I add the Vampyre Imaging Library 0.26.4 to the project I don't get icons on components like buttons yet they operate just fine.
When I add the vampyreimaging from the Online Package Manager I see all the icons on the components, but the library function LoadImageFromStream doesn't do its function.
function TForm2.SizeThumbs(Var ImageThumbsArray: TBitbtn; Img_Copyrect: Integer;
ThumbH: Integer; ThumbW: Integer; Var ImgMS: TMemoryStream) : Integer;
var
Img, Img2 : TImageData;
ImgH, ImgW : Integer;
i{, returnWidth} : Integer;
begin
try
InitImage(Img);
NewImage(ThumbW, ThumbH, ifR8G8B8, Img2);
ImgW := 0;
ImgMS.Position := 0;
LoadImageFromStream(ImgMS, Img); // DOES NOT WORK with vampyreimaging from the Online Package Manager
ImgMS.Position := 0;
ImgMs.Size := 0;
Resolved, read here:
http://forum.lazarus.freepascal.org/index.php/topic,34297.msg279263.html#msg279263