Re: calling convention stdcalll and cdecl call
"Alf P. Steinbach" <alfps@start.no> wrote in message
news:KKqdnf1E0Ia5cB7VnZ2dnUVZ_u6dnZ2d@posted.comnet
I think what you mean is not that /stdcall/ /cannot/.
I think what you mean is /Visual C++/ /does not/.
My position, of course, is that what Visual C++ does and documents
is, by definition, stdcall. Any modification of that is something
else. We have already discussed this at length.
Anwyay, the latter is correct, and the former is just nonsense.
Now here's a strong, well-reasoned argument. It's so much easier to
dismiss an inconvenient point as "nonsense" than to rebut it.
My first posting here in response to you was complete rebuttal in the
form of working code, where a function called as stdcall convention
was variadic.
It is curious that you claim that your knurre function is stdcall on
purely syntactical grounds: it is marked as __stdcall, therefore it
obviously is. However, the ... notation didn't appear anywhere in the
source, but you still claim the function is variadic. It didn't look
very variadic to the caller - e.g. it didn't work when called with 10
arguments, or when called with extraneous arguments.
You're denying a matter of fact.
That is incorrect.
Anyway, I think I'm done with this thread. No new technical arguments
are being advanced, and nobody's opinions are being changed (are they
ever?) Let the dispassionate reader form their own. I'm not interested
in a discussion over an approptiate vs inappropriate use of name-calling
(I have my opinion on that, too, and it's highly unlikely to change).
Apologies rendered, return apologies accepted. I'm happy to let you have
the last word, if you are so inclined. Have a nice ... uh, whatever time
of day you have where you are; it's well past midnight in my part of the
world.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925