I would like to know what controls the field alignment if you specify records in a type library. I've designed a number of COM objects which have record based properties that I've specified in the type library, but have found that I have to pad the records with dummy fields so that the total size is a multiple of 4 bytes. I've specified 'Aligned record fields' in the project options, so I don't understand why I need to do this. Any ideas? ================================================================== Tom Munro Glass +----------------------------------------------------------------+ | E-mail: | | Internet: [EMAIL PROTECTED] | | CompuServe: 100101,1243 or [EMAIL PROTECTED] | | Web sites: | | TMG CONSULTANCY: http://www.tmgcon.com | | Tewkesbury Web: http://www.tmgcon.com/tewksweb | +----------------------------------------------------------------+ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz