Multiple value in one request

Hello,
I use the code from the simvars sample and the request are made one by one.
Is there a way to make all the request in one sentence ?
And receive the value in a single casted struct ?
Thanks

Sure you can, and in fact it’s a very common way of optimizing data requests, so you make a single call to receive several variables at once.

See this sample:

Samples\VisualStudio\SimConnectSamples\RequestData

Thanks Umberto67,
I work in c#, so I don’t look the c++ sample. My mistake.

Actually I’m blocked at the connection step. My connection appears in MSFS but none of the event fired like OnrecvOpen in my code by example. If you have an idea ?