very sorry: please help me....
borland c 3.1
os: windows xp
a dos program
sorry about not giving the information earlier...
here is a simple code that i tried that fails at the allocation part because of low memory....
the resulution is 640,480;
graphics(); //calls initgraph
openscr(); //draws an image on screen
unsigned int picsize;
if (!pic) printf ("memory error");
it succeed to allocate 300*300 but not a larger part of screen such as 400*400;