TIP: Click on subject to list as thread! ANSI
echo: tub
to: Bo Simonsen
from: Bob Jones
date: 2003-10-06 08:51:14
subject: Sqfix problem

BS> Hello Bob!

 BS> 05 Oct 03 14:19, you wrote to me:

 BS>> Oh! I thought so, but I wasn't scure about it.

 BJ> I thought of an additional item.....  Even a packed structure might
 BJ> round up the sizeof() to be a multiple of 4 or 8 bytes....
 BJ> That would mean you would still need to specify the size via another
 BJ> means for reading and/or writing the packed structure....  I haven't
 BJ> tested this....

 BS> Yes I see that, if I understand correctly the structure 
 BS> is packed, but sizeof(STRUCT) returns the size of the 
 BS> "unpacked" structure.

Ok....  Are you using the method Wes wants used for handling packing of the
structures? 

Take care.....

Bob Jones, 1:343/41


--- Maximus/2 3.01
* Origin: Top Hat 2 BBS (1:343/41)
SEEN-BY: 633/267 270
@PATH: 343/41 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.