plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

Please take a moment to read the platform’s guidelines before you get started!


question

AlexxV avatar image
AlexxV asked EPellissier answered

SimConnect: ILLEGAL_OPERATION exception received by wrong client

Basically, we have the following problem:

We subscribe to not-yet-existing ClientData with Period set to SECOND and then every SimConnect client is receiving ILLEGAL_OPERATION exception every second, not just the client that made the subscription, which is breaking some applications.

Our code is pretty much as follows:

SimConnect.MapClientDataNameToID("blah:blahblah", 0);
SimConnect.AddToClientDataDefinition(0, 0, 4);
SimConnect.RequestClientData(0,0,0,SIMCONNECT_CLIENT_DATA_PERIOD.SECOND,0,0,0,0);

If you connect with Simvars Watcher you'll see exceptions in the log after executing this code in a different process.

bugsimconnect
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

BenBaron85 avatar image
BenBaron85 answered AlexxV commented

I have already pointed that out in this thread some time ago. I don't know if the problem has been identified or if any fixes have been applied to this area, though.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

AlexxV avatar image AlexxV commented ·

It's definitely still happening.

0 Likes 0 ·
EPellissier avatar image
EPellissier answered

Hi there,

We have reproduced & fixed the issue. The fix will be available in Sim Update 9.

Best regards,

Eric / Asobo

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.