• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

P3D v4 Issue with RequestData Sample

#1
Hello,
I'm trying to set up my tools to compile my old FSXA C++ codes into P3DV4 64bit one. Therefore I used P3D V4.1.7 SDK and MSVC 2015 to compile some SDK's samples.

I did a test with RequestData sample which uses Simconnect_RequestDataOnSimObjectType function that I use a lot in my Carrier or Radar gauge codes.

But when the RequestData.exe is launched (using P3D V4.0), it closes immediately.
In the Simconnect log file I have this:

(...)
> 1.43040 [ 0, 1]Open: Version=0x0000001B Name="Request Data"
< 1.43103 [0] >>>>> EXCEPTION=5, SendID=1, Index=0 <<<<<
> 1.43112 [ 0, 2] Unrecognized Client: received data ignored. [ 0, 2]
> 1.43143 [ 0, 3] Unrecognized Client: received data ignored. [ 0, 3]
> 1.43167 [ 0, 4] Unrecognized Client: received data ignored. [ 0, 4]
> 1.43190 [ 0, 5] Unrecognized Client: received data ignored. [ 0, 5]
> 1.43213 [ 0, 6] Unrecognized Client: received data ignored. [ 0, 6]
> 1.43233 [ 0, 7] Unrecognized Client: received data ignored. [ 0, 7]
1.86147 [0] Disconnected! (5, C000014B)


Is there something I missed? Does P3DV4.0 incompatible with a v4.1 compiled code?
Thank you in advance for any lead
Regards,
Sylvain
 
#3
Hi Doug!
Thank you for your answer : no back-compatibility to be expected... My question was a dummy one ... :)
After having done my test on a v4.1 version, everything is ok!
Thanks again,

Sylvain