Hi!
I've got a problem with my C# application that uses BeatlesBlog SDK for SimConnect connection to FSX Accelleration.
After a while, I get this exception:
"Source array was not long enough. Check srcIndex and length, and the array's lower bounds."
The stacktrace is:
" at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)\r\n at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)\r\n at System.Collections.Generic.Queue`1.Enqueue(T item)\r\n at BeatlesBlog.SimConnect.SimConnect.Networking.ReceiveBodyCallback(IAsyncResult ar)\r\n at System.IO.Pipes.PipeStream.AsyncPSCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOverlapped)\r\n at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)"
Any ideas?
What the application mainly does it to collect information about AI traffic and display it in a listbox.
Thanks!
Regards,
Daniel
I've got a problem with my C# application that uses BeatlesBlog SDK for SimConnect connection to FSX Accelleration.
After a while, I get this exception:
"Source array was not long enough. Check srcIndex and length, and the array's lower bounds."
The stacktrace is:
" at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)\r\n at System.Collections.Generic.Queue`1.SetCapacity(Int32 capacity)\r\n at System.Collections.Generic.Queue`1.Enqueue(T item)\r\n at BeatlesBlog.SimConnect.SimConnect.Networking.ReceiveBodyCallback(IAsyncResult ar)\r\n at System.IO.Pipes.PipeStream.AsyncPSCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOverlapped)\r\n at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)"
Any ideas?
What the application mainly does it to collect information about AI traffic and display it in a listbox.
Thanks!
Regards,
Daniel

