Turbo C++ problem with big raster memory allocation, clone
Posted: Mon Sep 10, 2007 7:58 am
I wrote the application to view monochromatic and color raster with using the XnView GFLSDK library. When I compiled my project under Borland C++ 4.0 in Win2000 everything was ok. I could read as big raster as I found. After compiling the project under Turbo C++ in WinXP the function gflLoadBitmap returns the error: "error to allock memory". It is only for big color raster for example 14000x7000x24 pixels. In the same session I tried to read 9000x7000x24 raster and it was working. The same situation is when I try to clone big raster. The function is not working and the bitmap is not allocating the memory after operation like that:
GFL_BITMAP **dest;
GFL_BITMAP **sour;
*dest = gflCloneBitmap( *sour );
Is any limits under that compilator? If it is true, what limits I should expect and how to read and clone big bitmaps for example 20000x20000x24?
Thanks
IGEKA
GFL_BITMAP **dest;
GFL_BITMAP **sour;
*dest = gflCloneBitmap( *sour );
Is any limits under that compilator? If it is true, what limits I should expect and how to read and clone big bitmaps for example 20000x20000x24?
Thanks
IGEKA