Hello,
I am writing a solitare type game and have a couple of questions about
loading bitmaps from a *.res file. I have been loading the bitmaps
sequentially into a single variable of type HBitmap when the program
needs to display them. The problem is that I don't think that the
HBitmap variable is being reused properly. When I exit the application,
a certain percentage of the windows resources reported by the Program
Manager are gone. What does the program need to do in order to reuse
the variable? When I use DeleteObject, the program crashes with a stack
error. Should I just load all of the bitmaps into an array?
I am using TPW 1.5
Thanks in advance,