GlobalAlloc returning memory that isn't 8-byte aligned?
6 Jun
2002
6 Jun
'02
8:06 p.m.
Hi all, It looks to me like the wine implementation of GlobalAlloc is only returning addresses that are 4 byte aligned, not 8-byte aligned as MSDN says it should... Unfortunately on Sparc-Solaris double values need to be 8-byte aligned, and if GlobalAlloc is returning 4-byte aligned addresses - this is pretty hard. I'm afraid I don't really understand all of the magic going on in dlls/ntdll - I tried redefining ARENA_SIZE_MASK to ~7 instead of ~3, but this caused seg-faults in various places... Any suggestions on how to convince GlobalAlloc to actually return 8-byte aligned addresses would be greatly appreciated! Warren
8591
Age (days ago)
8591
Last active (days ago)
0 comments
1 participants
participants (1)
-
Warren_Baird@cimmetry.com