Jump to content
brad992

Freeing bitmaps.. How????

Recommended Posts

Okay, So i'm using scar 3.38, i've been using 3.22 since forever and decided to update. The "freebitmap" function has been removed as i saw in the changelog, i've searched the forums for the last 30 minutes and i can't find anything, i saw someone say that "bmp.free;" works, but it's not working for me, i get this compiler error "semicolon (';') expected" .

 

I'm so lost, can someone please tell me the new function?

Link to comment
Share on other sites

Show your code?

 

bmp.Free should work.

 

var
 bmp: TSCARBitmap;

begin
 bmp := TSCARBitmap.Create('deNp9z8sKgkAYhmHXdfXRgQLTrG1Q4SZN6x6qj' +
   'bk1xwOmaDKMjkMf6aJFCM9imJd/+GcgDaWSNTDeOVnJC8oZF6wWaclJWvkvhgN' +
   'MvpVWouLiTZswq5G8hEV5DXFeF7TBIGUiyXmbAG/CdO/MdXehu7PDo71prS8xb' +
   'DqRdo5WdqhagXIisun/pBhJs8OVjRQoJlkaz+9s1A0iWYFqESTZ8OSjhyV7YM/' +
   'tbfQXPo56J9e/2toz+wH8wBLF');
 bmp.Free;
end.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...