hello,

can anyone confirm my suspicion that there is some sort of 'memory/size limit' enforced when creating a CBitmap?

i've tried to load 4k by 4k images, and i can read the tiff file fine, and the data is all present and correct, but when i do the 'bmp->create()' call it returns 0. it also doesn't work with 3k by 3k images but it DOES work with 2k by 2k and 1k by 1k. so the only thing i can think of is that there is some sort of limit imposed by CBitmap.... like i say can anyone confirm or deny this?? i've trawled through the MSDN stuff, but [of course] i haven't found anything that indicates that there is a limit.... if this is the case anyone got any ideas of how to load and display 4k by 4k images???


many thanks,
dug.