I'm calling a C++ DLL from another application written in Visual Basic. When declaring a function in the DLL, what's the difference between using __declspec as opposed to _stdcall? For example:
Is one better than the other?
Code:
void __declspec(dllexport) CALLBACK MyFunction()
[COLOR=green]//or:[/color]
void _stdcall MyFunction()