Re: calling convention stdcalll and cdecl call

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



* Igor Tandetnik:

printf is a counterexample of what? It uses cdecl convention, where the caller is responsible for clearing up the stack. Consider also:

printf("%d", 1, 2);

How would your hypothetical stdcall printf know to remove 12 bytes worth of parameters, rather than 8?

I think you're stupid.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
.



Relevant Pages

  • Re: Mid-tournament confrontations?
    ... >confrontation with another player who has me covered by relatively a lot. ... Do you play better as a big stack? ... In a perfect world, chips have ... where I think a big stack may be worth more than two medium stacks. ...
    (rec.gambling.poker)
  • Re: NLHE hand for discussion
    ... Obviously raising here in limit is worth a shot. ... But he also has a betting pattern very similar to a guy ... What we do depends on what the stack size of the cutoff is. ... I think calling is the absolute best play here. ...
    (rec.gambling.poker)
  • Re: Use an Addin to automatically add date/time stamp to each edited line of VB6 code?
    ... stack of floppies I'm going to move to DVD someday. ... my Pascal-to-VB Type 1 to 0 MIDI conversion routine is! ... all be worth together around 50k now if restored to concours ...
    (microsoft.public.vb.general.discussion)
  • Access is just to hard to understand
    ... Im sitting here in front of my computer, ... about $200 worth of Access books, and a stack of Access information I printed ...
    (microsoft.public.access.gettingstarted)
  • Re: [patch 4/9] Guest page hinting: volatile swap cache.
    ... Is it worth having another full copy of find_get_page? ... "nodiscard" argument? ... The overhead being the extra argument to the ... talking about the push of an immediate on the stack for the call. ...
    (Linux-Kernel)