E
Ezmeralda
Hello,
in some old projects I am using DllImport with its default
CallingConvention.StdCall, but the according DLL uses
standard _cdecl calling convention.
To my understanding this should not work, since the
calling convention does not agree - in fact it seems to
work since we did not notice any problems.
Could someone explain what's going on?
Thanks!
in some old projects I am using DllImport with its default
CallingConvention.StdCall, but the according DLL uses
standard _cdecl calling convention.
To my understanding this should not work, since the
calling convention does not agree - in fact it seems to
work since we did not notice any problems.
Could someone explain what's going on?
Thanks!