G
Guest
Hi,
I have a project in which i havn't changed the /Zp flag and left it at the
default (8 bytes).
my problem is that upon execution the structs aren't aligned at all, as if i
used /Zp1.
its very problematic when i use another app who send these structs to the
main app, since the sending app sends an aligned message while the main up
reads it analigned i.e. it loses the data.
hope anyone here knows whats the problem and how to fix it.
I use Visual studio 2003 and an unmanaged C++ project.
thanks,
yaniv
I have a project in which i havn't changed the /Zp flag and left it at the
default (8 bytes).
my problem is that upon execution the structs aren't aligned at all, as if i
used /Zp1.
its very problematic when i use another app who send these structs to the
main app, since the sending app sends an aligned message while the main up
reads it analigned i.e. it loses the data.
hope anyone here knows whats the problem and how to fix it.
I use Visual studio 2003 and an unmanaged C++ project.
thanks,
yaniv