Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory full when loading multiple images
#2
To reuse same imagehandle& number:

If imagehandle& < -1 then ' it contains an image
_freeimage imagehandle&
end if

imagehandle& = _LoadImage( ) ' load imagehandle& for reuse

Just do the first thing before each time you do the 2nd thing.
b = b + ...
Reply


Messages In This Thread
RE: Memory full when loading multiple images - by bplus - 11-02-2024, 11:25 PM



Users browsing this thread: 6 Guest(s)