Liviu
Thu Jul 17 01:56:13 CDT 2008
OP said VC++ 6, and I don't think declspec(align) worked there.
P.S. Does anyone remember what /bzalign was for in the old ages?
"M. Shoaib Surya" <shoaibsurya@hotmail.com> wrote in message
news:Ocq8hC95IHA.1196@TK2MSFTNGP05.phx.gbl...
> Check the reference for the Microsoft Specific "align" keyword to have
> control on the data alignment - that might serve your purpose.
>
http://msdn.microsoft.com/en-us/library/83ythb65(VS.80).aspx
>
> Regards,
> Shoaib.
>
> "ou" <ou07@ab.auone-net.jp> wrote in message
> news:eY9%23%23b85IHA.1428@TK2MSFTNGP06.phx.gbl...
>> Env: VC++6.00
>>
>> I wonder how to define a char[ ] with alignment restrictions?
>> For example, I hope the start address of a char[100] is with
>> alignment restrictions 256 bytes.
>>
>>
>> TIA
>> ou