I just downloaded the latest snapshot of Lazarus only to find that it completely breaks when you try and install Vampyre. The problem is that they (unannounced to anyone) have deprecated and removed CreateBitmapFromRawImage and a few others.
The fix is to open ImagingComponents and edit the following lines:
Change
to
and Change
to
and Change
to
and FINALLY Change
to
Just thought others might want to know about this so that the next time you update you don't have to do the leg work yourself :).
The fix is to open ImagingComponents and edit the following lines:
Change
Code Select
if CreateBitmapFromRawImage(RawImage, ImgHandle, ImgMaskHandle, False) then
to
Code Select
if RawImage_CreateBitmaps(RawImage, ImgHandle, ImgMaskHandle, false) then
and Change
Code Select
if GetBitmapRawImageDescription(Bitmap.Handle, @RawImage.Description) then
to
Code Select
if RawImage_DescriptionFromBitmap(Bitmap.Handle, RawImage.Description) then
and Change
Code Select
if GetRawImageFromBitmap(Bitmap.Handle, 0, Classes.Rect(0, 0, Data.Width, Data.Height), RawImage) then
to
Code Select
if RawImage_FromBitmap(RawImage, Bitmap.Handle, 0, Classes.Rect(0, 0, Data.Width, Data.Height)) then
and FINALLY Change
Code Select
FreeRawImageData(@RawImage);
to
Code Select
RawImage.FreeData;
Just thought others might want to know about this so that the next time you update you don't have to do the leg work yourself :).