Alignment

how do i change some structure alignment for like 1, 2, 4 and 8 byte.

i had some structure that i want to pass to an api but it only work with 8 byte structure alignment. when i change vc6 setting like changing the structure alignment to 1 byte (which i obviously want to use for all part of my source), it didnt work. i had no idea what could be the problem.
so, i hope someone could help me with my problem. change structure alignment source code would be nice for me to learn.
Last edited on
i had no idea what could be the problem.
The problem is that the API (or parts of it) expects the 8 byte alignment. Especially the console does. so if you change that alignment just do it for your very internal data
changing the structure alignment to 1 byte (which i obviously want to use for all part of my source)


Why?
thanks for the link kbw :)
Topic archived. No new replies allowed.