Lloyd Dupont <lloyd@...> writes:
> what is the difference between _stdcall and _cdecl ?
On the Intel 386, the `stdcall' attribute causes the compiler to
assume that the called function will pop off the stack space used
to pass arguments, unless it takes a variable number of arguments.
On the Intel 386, the `cdecl' attribute causes the compiler to
assume that the calling function will pop off the stack space used
to pass arguments. This is useful to override the effects of the
> if i have a function pointer variable, could i affect it a function
> with any calling convention ?
Sorry, I don't understand what you mean. I the question is "can calling
convention attribute be used with a pointer to function?", the answer would
Hope to hear from you soon,