Hi!
Correct. In addition, short could be pure 4-byte value here.
>>thx, i've read some articles now about it in the MSDN Library ..
>>i think you're right ..
>>now getting to workaround that ..
>
>(I think this is where you wanted to reply ... )
>
>If it started "working" after you pulled the field, then the other fields were "shifted up" and my quess is that it's not really working but the operations for the remaining fields are "off by one". If alignment is on 4 byte boundaries, then adding a dummy 2 byte field "after" the field you pulled should fix the problem.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.