situation:
If using LoadImage then there is still no problem, but if using CreateImage to draw our own images then you will suffer probelms.
I recently discover my program can display normal in windowed mode, but failed in full window mode.
For example,
Graphics 800,600,16,1 will be failed
Graphics 800,600,16,2 will be no probelm
Finally I discovered this is related to my display card, which is Intel(R) 82852/82855 GM/GME using shared memory.(This is not a independent display card)Because I can run the same thing with no problem on the other computer with other display card. So I conclude this is caused by my display card.
But it maybe also relate some memory arrangement issue because the card is with shared memory. Because if I replace all the images with bmp pictures, then the problem is solved. But when I create more than the two images usign CreateImage, certainly you have to call ImageBuffer(), then it may mix up some display function because of calling ImageBuffer and BackBuffer repeatedly.
I am not an expert on this, I just did some A/B test and my sense is this. Hopefully it will help technique people to figure this out.
BESTs
supply
If using LoadImage then there is still no problem, but if using CreateImage to draw our own images then you will suffer probelms.
I recently discover my program can display normal in windowed mode, but failed in full window mode.
For example,
Graphics 800,600,16,1 will be failed
Graphics 800,600,16,2 will be no probelm
Finally I discovered this is related to my display card, which is Intel(R) 82852/82855 GM/GME using shared memory.(This is not a independent display card)Because I can run the same thing with no problem on the other computer with other display card. So I conclude this is caused by my display card.
But it maybe also relate some memory arrangement issue because the card is with shared memory. Because if I replace all the images with bmp pictures, then the problem is solved. But when I create more than the two images usign CreateImage, certainly you have to call ImageBuffer(), then it may mix up some display function because of calling ImageBuffer and BackBuffer repeatedly.
I am not an expert on this, I just did some A/B test and my sense is this. Hopefully it will help technique people to figure this out.
BESTs
supply