Xref: utzoo comp.lang.c:33318 comp.os.msdos.programmer:1756 Path: utzoo!attcan!uunet!decwrl!ucbvax!bloom-beacon!mmshah From: mmshah@athena.mit.edu (Milan M Shah) Newsgroups: comp.lang.c,comp.os.msdos.programmer Subject: Re: Paramters of type float getting corrupted in Microsoft C 5.1. HELP !!! Message-ID: <1990Oct31.164205.28385@athena.mit.edu> Date: 31 Oct 90 16:42:05 GMT References: <6947@castle.ed.ac.uk> Sender: daemon@athena.mit.edu (Mr Background) Organization: Massachusetts Institute of Technology Lines: 17 WRT float parameters getting corrupted. I ran into this problem once, and it is a known bug with MSC 5.1. I can't remember the exact details - I vaguely recall that it had something to do with either the float parameter being on an odd byte boundary, or being part of a struct that was more than 16 bytes long, or maybe both. I do, however, remember the workaround he suggested - pass a pointer to the float or struct instead. For exact details, call Microsoft. If this is too vague, I can probably dig up some code that shows where the problem occured and how it was 'fixed' Hope this helps. Milan .