i just cant get what this line means
VSTCALLBACK its like a global am i wrong ??? what about cdecl ?
#define VSTCALLBACK __cdecl
That's a preprocessor macro definition. Whenever the compiler encounters VSTCALLBACK, it replaces it with __cdeci and compiles that instead.
__cdecl is microsoft extension which is a calling convention.
for example:
void VSTCALLBACK f() {}
is same as:
void __cdecl f() { }
that's useful in DLL's and similar.
others are:
1 2 3
|
_thiscall
_fastcall
_stdcall
|
you can find more info about calling conventions on MSDN web pages.
ok thanks i will search for that
Topic archived. No new replies allowed.