RE: MEMORY corruption and windows programming ???

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt wrote:

>> IIRC, the only time I've had to worry about a BOOL being 1 byte is when
>> there are multiple BOOL's next to each other, since the compiler seems to
>> like to pad extra bytes in order to get everything else 4-byte aligned. By
>> default, I assume a 4-byte BOOL, until I crash and burn. :)

Thanks Matt and Al:

I guess I'll just have to use 4-bytes and hope things don't crash too much.

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu