I have an unmanaged handler used in C# code, the delegate is defined like
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate int Callback (arguments)
It works well in 32bit version and I'm asking me what changes have to be done in 64bit version. The C header of the dll containing the handler defines all functions as __stdcall
if WIN32 and as __fastcall
if WIN64 (i.e. the dll comes in both 32 and 64bit versions). But in NET documentation it is said that fastcall is not supported. I don't understand what all this means, how should I change (or not) the code for 64 bits ?