V
vinu_gt
Hi All,
I had a question about stdcall and cdecl calling convention related to
Visual Studio 6.0
I have a console project and in Project->setting->C++->Code Generation
The "calling convention" is __cdecl.
1) Does this mean that function calls(meaning i call a function in my
program or a function in a dll)
in my program will assume that the called functions have been compiled
with __cdecl calling standard and as
such use __cdecl convention to call those functions.
Or
2) Does it mean that "by default" the functions in my program will be
constructed with __cdecl calling convention.
Does it work the same way on both windows and unix.
Could you also kindly direct me to some nice article which explains
this in detail.
Thanks
Vinu
I had a question about stdcall and cdecl calling convention related to
Visual Studio 6.0
I have a console project and in Project->setting->C++->Code Generation
The "calling convention" is __cdecl.
1) Does this mean that function calls(meaning i call a function in my
program or a function in a dll)
in my program will assume that the called functions have been compiled
with __cdecl calling standard and as
such use __cdecl convention to call those functions.
Or
2) Does it mean that "by default" the functions in my program will be
constructed with __cdecl calling convention.
Does it work the same way on both windows and unix.
Could you also kindly direct me to some nice article which explains
this in detail.
Thanks
Vinu