It's all terminology. _stdcall *is* PASCAL calling convention. It
refers to the way things get pushed onto the stack. C goes left to
to right, while Pascal goes right to left (fixed and I may have
those backwards - can't remember my stack semantics). C is more flexible
with variable parameter lists while Pascal convention is faster,
which is why the WinAPI uses it...
_stdcall/PASCAL same thing - different time frame <s>...
+++ Rick ---
>Well, it's what you get when declare a function as "extern "C"". :) Or, this is what I wanted to say.
>
>Actually, the WinAPI calling convention is WINAPI (macro that resolves to __stdcall), which is neither pascal nor c calling conventions. :)
>
>PASCAL and __pascal are not supported anymore and they are defined as macros that resolve to __stdcall in Win32.
>
>Vlad
>
>>actually it's not C style,
>>but PASCAL style <s>, which is the WinAPI stack format.
>>
>>+++ Rick ---