Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vc++
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Vc++
Divers
Thread ID:
00166468
Message ID:
00168760
Vues:
23
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 ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform