brad992 Posted December 21, 2012 Share Posted December 21, 2012 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? Quote Link to comment Share on other sites More sharing options...
Janilabo Posted December 21, 2012 Share Posted December 21, 2012 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. Quote Link to comment Share on other sites More sharing options...
brad992 Posted December 21, 2012 Author Share Posted December 21, 2012 lol, my problem is that i declared my "bmp" as an integer. silly me.. Thanks you very much for the quick reply though Quote Link to comment Share on other sites More sharing options...
Janilabo Posted December 21, 2012 Share Posted December 21, 2012 No problem, glad you solved the problem! Quote Link to comment Share on other sites More sharing options...