Re: Packing in mmsystem16 and supporting broken GetWindowLong use cases
21 Nov
2001
21 Nov
'01
10:09 p.m.
Jukka Heinonen wrote:
The second patch is because Wine mmsystem16 header does not use correct packing which results into 48 byte structure taking 52 bytes and overwriting a pointer. This makes Civilization 2 quite unhappy. Took almost a day to debug the game and find out that the bugger who messes the pointer is really waveOutGetDevCaps16...
Yessss! Thanks for finding this bug! It would have taken me ages to find it. Finale was choking awfully after calling midiInGetDevCaps. It would go into an endless loop, trashing my hard-drive and forcing me to do a hard reset on my box. Your patch fixes the problem. Cheers! Josh Thielen
8788
Age (days ago)
8788
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joshua Thielen