how are we supposed to run SimConnect_GetLastSentPacketID from a managed client in C#?
Until now, I was using
Code: Select all
[DllImport("SimConnect.dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)]
private static extern int SimConnect_GetLastSentPacketID(IntPtr hSimConnect, out UInt32 dwSendID);
But as I was not able to find a x64 version of SimConnect.dll to include it into my program, the above mentioned approach doesn't work any more.
Any suggestions?
Greets, Benny