05-31-2010, 06:37 PM
britlion Wrote:Oh, so it's not passing the first value in the stack - stdcall passes it in the register AND in the stack, which is a little confusing.You CAN, but you SHOULD NOT, unless you really manage the stack yourself. :roll: If you use FASTCALL in a function with 2 or more params, or a function with local vars, it will crash your program.
So we CAN use FASTCALL, even if the compiler complains to shortcut that, and use a shorter stack. I think I see.
There's the confusion - fastcall would say "hey, you can't do that!" and so I sort of went with that.