08-10-2022, 02:55 PM
I have to agree I have no idea why you create and delete the BMP unless you have other plans for the sub that aren't used here in this program.
_freeimage doesn't matter unless you want to free up ram because Map2& will not be called later in the program, as it will be cleaned up when the program ends as it was created in the main module.
_freeimage doesn't matter unless you want to free up ram because Map2& will not be called later in the program, as it will be cleaned up when the program ends as it was created in the main module.