SimConnect ClientDataArea Limited Size

Version: SU15 - 1.37.5.0

Frequency: Consistently

Severity: Low

Context: Experiencing in our MD-11 via an external client.

Bug description: The SimConnect ClientDataArea documentation states that 8K is the limit for one area and 1MB is the total limit. I allocated an area of around 2.5KB and attempted to write it from an external client (it was readonly on the in-sim version). All function calls succeeded when providing the expected size, but the data received in the sim was noticeably short (~1.6KB). I was able to confirm that the outgoing data was valid and the correct size before sending. The data itself was text, so it was very obvious when I began reading adjacent/corrupt memory.

It’s not a showstopper, but it would be good to either properly document the limit or fix the bug preventing the full data from being copied.

Repro steps: Allocate a sizeable SimConnect ClientDataArea area (greater than 2KB) and try to write to it. Notice that the received data is incomplete.

Hello @turbofandude

I allocated an area of around 2.5KB and attempted to write it from an external client (it was readonly on the in-sim version)

I’m not sure to understand.
Where is the client area created from?

Regards,
Sylvain

Somehow, this issue seems to have been resolved. We can consider this closed unless it reoccurs. I apologize for the seemingly pre-emptive report on this one.

1 Like