Hello, It is the real size because it is DWORD aligned. If you want it byte aligned then make it a packed record:
TSample = packed record // ... end; operations on it will run slower, but if you need it for communication in/out or for compatibility with other programs then this is the solution. --- Rgds, Wilfried http://www.mestdagh.biz _______________________________________________ Delphi mailing list -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi