>If you want to allocate a block of memory in 1MB boundary, how do you do >it? Thanks. I would allocate 2MB, take the 1MB of it which suits me, and deallocate the rest. (Note: I am not familiar with windows or linux). Dimiter -------------------------------------------------------------------- Dimiter Popoff http://transgalactic.freeyellow.com