SimConnect_GetLastSentPacketID
Posted: Wed Sep 26, 2018 6:10 pm
Hi all,
how are we supposed to run SimConnect_GetLastSentPacketID from a managed client in C#?
Until now, I was using
to call the function directly from the SimConnect.dll.
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
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