Env: eVC++4.00
I wonder how to define a TCHAR[ ] with alignment restrictions?
For example, I hope the start address of a TCHAR[100] is with alignment
restrictions 256 bytes(bit0~7 are zero).
TIA
ou
Paul G. Tobey [eMVP] - 17 Jul 2008 16:17 GMT
Allocate 256 + 100*2 bytes and figure out what address you should use to
achieve your requirement (which seems pretty strange, by the way). You can
be sure that there will be 100 TCHARs in that array where the first one will
start on a 256-byte boundary.
Paul T.
> Env: eVC++4.00
>
[quoted text clipped - 4 lines]
> TIA
> ou