hii
i want to load file to the memory , but i want it to be align by 8 or by 16
how can i do it ?


bye

eko
Posted on 2002-05-03 07:50:12 by eko
Allocate the file size plus the align size, then use the macro
on the address of the buffer (usually aligned to 4K already).
http://www.asmcommunity.net/board/index.php?topic=4805&highlight=ALIGN.msg33695
Posted on 2002-05-03 07:59:29 by bitRAKE
You can also use VirtualAlloc... the allocations are 4 kb (a page) aligned.
Posted on 2002-05-03 08:09:16 by JCP
hii
wowow this was fast ..
thanks man




bye
Posted on 2002-05-03 08:28:31 by eko