Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory full when loading multiple images
#4
Doesn't matter what the number is, you need to clear memory of old image to reuse number for a new image.

Why don't you just try the one line of code in your program where needed and see if that doesn't fix things?
Code: (Select All)
If imagehandle& < -1 then _freeimage imagehandle&

BTW I am starting to wonder if you are wasting allot of time reloading the same images into your program when you should be just switching imagehandles between loaded images.
b = b + ...
Reply


Messages In This Thread
RE: Memory full when loading multiple images - by bplus - 11-03-2024, 12:22 AM



Users browsing this thread: 5 Guest(s)